Regular Expressions 101

Community Patterns

1

loyal

PCRE2 (PHP >=7.3)
loyal
Submitted by anonymous - 4 days ago
1

named capture

PCRE2 (PHP >=7.3)
simple named capture
Submitted by Gene - 5 days ago

Thai Home Telephone Validation

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^0(2\d{7}|3[2-9]\d{6}|4[2-5]\d{6}|5[3-6]\d{6}|7[3-7]\d{6})$
/
gm

Description

Loading markdown...
Submitted by Chadin Chaipornpisuth - 5 months ago