Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Tweak for my Perl Regex that screens for digits only

by hackermike (Novice)
on Jan 25, 2006 at 19:50 UTC ( [id://525552]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Tweak for my Perl Regex that screens for digits only
in thread Tweak for my Perl Regex that screens for digits only

OK,
I put your code in my script and when I enter:
416-967-1111 ext. 123 xxxxxxxxxxxxxx
in the folrm field and submit the form
The regex does not detect that there is all those x's after the numbers ext. and number sequence.
If there is ANY text, anywhere in the field results, other than ext. or Ext. then I want the regex to generate an error message.
  • Comment on Re^4: Tweak for my Perl Regex that screens for digits only

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://525552]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-25 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found