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
r"
(\S+)(?=\s\1)\s
"
gm
Input 1
New
51 % 4 % % 9 % 53 % 44 % 29 % 88 % 102 % 84 84 % Nan 93 %
Extraction
51 % 4 % % 9 % 53 % 44 % 29 % 88 % 102 % 84 84 % Nan 93 %