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"
(?P<dup>(\w+\s+))(?P=dup)
"
gm
Input 1
#命名表达式,并反向引用。比如查找重词 1 hello hello 2 hello world 3 妮妮好 4 你 你 5 wo wo
Extraction
#命名表达式,并反向引用。比如查找重词 1 hello hello 2 hello world 3 妮妮好 4 你 你 5 wo wo