Regular Expressions 101

Community Patterns

0

PLP redirection

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

loyal

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

named capture

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

Find consecutive duplicate words

6

Regular Expression
Python

r"
\b(\w+)\s+\1\b
"
gi

Description

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