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 capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...
How to capture the Sogou web spider entries from Web log file? Here are some Web log file entries: 1...
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...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...