more useful options | |
PerlMonks |
Re^4: Tweak for my Perl Regex that screens for digits onlyby hackermike (Novice) |
on Jan 25, 2006 at 19:50 UTC ( [id://525552]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|