Regular Expressions 101

Community Patterns

0

vishnu

Python
log regex
Submitted by vishnu kendre - 7 months ago
0

idk

ECMAScript (JavaScript)
one
Submitted by anonymous - 7 months ago

Match substring of two matches in either order

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(longword1)(longword2)|.*\K(?1).*(?2)|.*\K(?2).*(?1)
/
gm

Description

Loading markdown...
Submitted by Chris Barth <chrisjbarth@hotmail.com> - 9 months ago