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:
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...
All credit card numbers issued by Diners Club must start with 300 through 305, 36 or 38 and have 14 ...
How to capture the Sogou web spider entries from Web log file? Here are some Web log file entries: 1...