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
/
(<a.*href=)["'](.*)["']
/
m
Input 1
New
<h2><a href="http://www.google.com/test">Link</a></h2>2014-54-22 22:23
Substitution
\1"http://localhost/down.php?u=urldecode(\2)"
<h2><a href="http://www.google.com/test">Link</a></h2>2014-54-22 22:23