DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
regex for valid phone number
^(+d{1,2}s?)?1?-?.?s?(?d{3})?[s.-]?d{3}[s.-]?d{4}$
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#regex
#valid
#phone
#number
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit