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
/
^((?!emote1|emote2).)*$
/
gm
Input 1
1
emote1 goes ok no emote2 no tomorrow yes abcd yes emote1 tomorrow no testing if emote2 works no
Extraction
emote1 goes ok no emote2 no tomorrow yes abcd yes emote1 tomorrow no testing if emote2 works no