"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Yes,
thing is that even entry level hackers will just add whatever text they want, AFTER the numbers ext. and more numbers......... I want to dis-allow ANY TEXT and allow any number of digits and the 2 exceptions of etc. and or Ext. Not just a choice of numbers OR text, but digits, only digits and NO TEXT anywhere, before or after the pemissible digits and ext. or Ext. This also question the use of the ^ and the $ as the only permissible string would be the digits with etc. or Ext. I'd rather not just have the regex remove the offending text characters - an error msg plus having to edit the fiels makes the spammers have to spend more effort to get their stuffe' posted. In reply to Re^2: Tweak for my Perl Regex that screens for digits only
by hackermike
|
|