J
Joey
I currently have a regular expression that will match textbox input for
phone numbers formatted as ###-###-####.
The expression is...
\d{3}-\d{3}-\d{4}
How can I modify this to accept the same pattern (ten digits) OR
###-#### (seven digits)?
phone numbers formatted as ###-###-####.
The expression is...
\d{3}-\d{3}-\d{4}
How can I modify this to accept the same pattern (ten digits) OR
###-#### (seven digits)?