Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(0)[1-9](\d{2}){4}$
/

Description

Phone number

Submitted by me - 3 years ago