Regular Expressions 101

Community Patterns

1

my

PCRE2 (PHP >=7.3)
replace first line and second
Submitted by MH - 17 hours ago
1

Parser

PCRE2 (PHP >=7.3)
for mail
Submitted by anonymous - 3 days ago
1

amp;

PCRE2 (PHP >=7.3)
subtitui
Submitted by seidao - 10 days ago

Regex range date

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])\b
/
gm

Description

Loading markdown...
Submitted by Ziuzhang - 4 months ago