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