Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?:[0-1])(?:[0-9])[0]+\z
/

Description

regular expression for Region Code - pcre and js flavors

Submitted by anonymous - 8 years ago