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
/
"(.*?)\(\1\)":(.*\/[a-zA-Z0-9]+)(?=\?|\,|\.|$)
/
Input 1
1
New
"text1(text1)":http://www.example.com/mypage, ? .
Substitution
<a href="$2">$1</a>
"text1(text1)":http://www.example.com/mypage, ? .