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
/
ERROR\s+(?!MO already exist).*$
/
gm
Input 1
1
New
ERROR we have an ERROR here da da da ERROR Parent MO not found ERROR anything else is here ERROR MO already exists
Substitution
ERROR we have an ERROR here da da da ERROR Parent MO not found ERROR anything else is here ERROR MO already exists