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
/
^(?i)(?!foo$).+
/
gm
Input 1
1
Text with foo here foo Text More foo foo Match this line this seems to work as does this with foo foofff ffffoO
Substitution
Text with foo here foo Text More foo foo Match this line this seems to work as does this with foo foofff ffffoO