Search
 
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
Name
7+2 =