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 validate GUID (Globally Unique IDentifier) or UUID (Universally...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...