Regular Expressions 101

Library entries

Validate a 10-digit US Phone Number

Vote

0

Regular Expression
pcre2

/
^[2-9]{1}[0-9]{9}$
/

Description

Loading markdown...
Submitted by JB - 6 days ago