Regular Expressions 101

Community Patterns

0

PLP redirection

PCRE2 (PHP >=7.3)
PLP redirection
Submitted by anonymous - 5 days ago
1

loyal

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

named capture

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

HTML Minifier

2

Regular Expression
PCRE2 (PHP >=7.3)

/
(?ix)(?>[^\S ]\s*|\s{2,})(?=(?:(?:[^<]++|<(?!\/?(?:textarea|pre)\b))*+)(?:<(?>textarea|pre)\b|\z))
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago