Regular Expressions 101

Community Patterns

1

Match paths

PCRE2 (PHP >=7.3)
Match paths
Submitted by os_niko - 6 days ago
1

SUT - Package Matching

PCRE2 (PHP >=7.3)
test
Submitted by MHE - 14 days ago

Match all Tailwind CSS classes prefixed with dark:

1

Regular Expression
PCRE2 (PHP >=7.3)

/
\b\sdark:[\w\-:]*\b
/
gm

Description

Loading markdown...
Submitted by hexrw - 3 months ago