Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
([^0+][1-9]{2})\d{1,13}
/
g

Description

Checking first character "+" or "0"

Submitted by anonymous - 8 years ago