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
/
^(?:(?!cpp:\s*1e\+06,1e\+06).)*c:1e\+06,1e\+06.*$
/
gm
Input 1
55, cpp: 1e+06,1e+06, c:1e+06,1e+06, ... 56, cpp: 0.2342,0.2342, c:1e+06,1e+06, ... 57, cpp: 1e+06,1e+06, c:1e+06,1e+06, ... 58, cpp: 1e+06,0.2342, c:1e+06,1e+06, ... 59, cpp: 3.453,3.453, c:3.453,3.453, ...
Substitution
55, cpp: 1e+06,1e+06, c:1e+06,1e+06, ... 56, cpp: 0.2342,0.2342, c:1e+06,1e+06, ... 57, cpp: 1e+06,1e+06, c:1e+06,1e+06, ... 58, cpp: 1e+06,0.2342, c:1e+06,1e+06, ... 59, cpp: 3.453,3.453, c:3.453,3.453, ...