Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

phone number validation regex

// 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
ADD COMMENT
Topic
Name
4+3 =