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
/
^(\S+)\s+(?!\1).*
/
gm
Input 1
1
New
43,186 43,186 296,531 296,531 108086 108086 abcdef abcdef Capture This 497,802 497,802 200,062 300,062 Not Same 202232 252232 4,324,452 4,324,452
Substitution
43,186 43,186 296,531 296,531 108086 108086 abcdef abcdef Capture This 497,802 497,802 200,062 300,062 Not Same 202232 252232 4,324,452 4,324,452