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'
<a target="_blank" href="([^"]+)">([^/]+)\s/
'
gm
Input 1
New
<!DOCTYPE html> <html lang="en-US" prefix="og: http://ogp.me/ns#"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="pingback" href="http://ver-novelas-online.com/xmlrpc.php" /> <title>EL MARIACHI CAPITULOS COMPLETOS - Ver Novelas Online</title> <!-- This site is optimized with the Yoast SEO plugin v4.6 - https://yoast.com/wordpress/plugins/seo/ -->
Substitution
<!DOCTYPE html> <html lang="en-US" prefix="og: http://ogp.me/ns#"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="pingback" href="http://ver-novelas-online.com/xmlrpc.php" /> <title>EL MARIACHI CAPITULOS COMPLETOS - Ver Novelas Online</title> <!-- This site is optimized with the Yoast SEO plugin v4.6 - https://yoast.com/wordpress/plugins/seo/ -->