If the whole point of this exercise is to limit input into a form, why not provide separate fields for phone numbers vs extensions and limit each field to numbers only? That way you dodge the whole issue of spammers entering text, but allow the entry of extensions.
|Replies are listed 'Best First'.|
Re^2: Tweak for my Perl Regex that screens for digits only
by hackermike (Novice) on Mar 04, 2006 at 22:08 UTC