Does anyone have a complete validation routine for U.S. phone numbers? The default one only checks that phone numbers consists of numbers, dashes
and parenthesis. The remaining issues seem to include:
-10 digits total
-3 digits, maybe parens, maybe space, maybe hyphen, 3 digits, maybe parens, maybe space, maybe hyphen, 4 digits.
Sergey says it's in validate.js...
Thanks,
Ken