Regular Expressions 101

Community Patterns

0

PLP redirection

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

loyal

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

named capture

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

Find all words between #text#

1

Regular Expression
PCRE2 (PHP >=7.3)

~
[^<>](?![^<]*>|[^<>]*<\/)(?!\s\#\s)(\#\S[^<>](?![^<]*>|[^<>]*<\/)(.*?)\S\#)
~
mUg

Description

Loading markdown...
Submitted by Kervan Mazuy - 6 months ago