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
/
^(?!.*(RedGemEtc)).*(?(1)xyzzy|<.>)
/
gm
Input 1
1
New
a baz blahblah foobar <紅> a b baz RedGemEtc foobar <黑> b c baz blahblah foobar <不> c d baz RedGemEtc foobar [巴] d