Created
April 21, 2016 12:25
-
-
Save danielkellyio/24dd77b8192ae5935cc4fae0225429c2 to your computer and use it in GitHub Desktop.
Regex to detect valid us phone numbers (no country code)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[\(]?\d{3}[\)]?[\-]?\d{3}[\-]?\d{4} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment