Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
\b(?: (?P<match_this> b\s+ (?: (?!c\s+(?:\S+\s+){1,3}e |d\s+(?:\S+\s+){1,3}g) \S+\s+){1,3} f) |(?P<not_overlap1>d\s+(?:\S+\s+){1,3}g) |(?P<not_overlap2>c\s+(?:\S+\s+){1,3}e) )\b
"
gx
Unit Tests
There are no unit tests, click
here
to add some.