Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
(?<!isn't )(?<!not )\b(?:good|great)\b
"
gm
Input 1
1
New
good words not good words isn't good words great words not great words isn't great words words good words not good words isn't good words great words not great words isn't great words good words words not good words words isn't good words words great words words not great words words isn't great words
Substitution