in reply to Tweak for my Perl Regex that screens for digits only
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.
Cheers,
Matt
In Section
Seekers of Perl Wisdom