Other Resources:
US phone number validation
How to perform a validation on US phone numbers using a regular expression? For example, "(021)423-2323" is an valid US phone number.
✍: Guest
To perform a validation on US phone numbers, try this regular expression:
^\(?\d{3}\)?[-\s.]?\d{3}[-\s.]\d{4}$
2013-01-27, 0👍, 0💬
Popular Posts:
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
How to capture the Baidu spider entries from Web log file? Here are some Web log file entries: 127.0...
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...
Are you having problems using regular expressions when processing text strings in your applications ...