Created
October 18, 2012 15:15
-
-
Save iowillhoit/3912477 to your computer and use it in GitHub Desktop.
Phone Number Regex (country code, optional delimiters, optional extension)
This file contains hidden or 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
^\(?([2-9]{3})\)?[\-. ]?([0-9]{3})[\-. ]?([0-9]{4})[\-. ]?(x|ext)?[\-. ]?([0-9]{3,4})?$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment