Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

phone number validation regex javascript

// regex to match phone numbers entered with delimiters (spaces, dots, brackets, etc.)

/^+?d{1,4}?[-.s]?(?d{1,3}?)?[-.s]?d{1,4}[-.s]?d{1,4}[-.s]?d{1,9}$/
Source by uibakery.io #
 
PREVIOUS NEXT
Tagged: #phone #number #validation #regex #javascript
ADD COMMENT
Topic
Name
5+7 =