Regular Expressions 101

Library entries

Us mobile no validation Regex

Vote

0

Regular Expression
pcre2

/
^1?[-. ]*([0-9]{3}){1}[-. ]*([0-9]{3}){1}?[-. ]*([0-9]{4}){1}$
/
gm

Description

Loading markdown...
Submitted by Naman Shrimali - 3 months ago