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"
key[ :']+([^,;'"]+)[ '",;]+
"
Input 1
<!DOCTYPE html> <!--[if lt IE 7]><html class="ie6 oldie" lang="zh"><![endif]--> <!--[if IE 7]><html class="ie7 oldie" lang="zh"><![endif]--> <!--[if IE 8]><html class="ie8 oldie" lang="zh"><![endif]--> <!--[if gt IE 8]><!--> <html lang="zh"> <!--<![endif]--> <head> <meta http-equiv="X-UA-Compatible" content="edge" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="renderer" content="webkit"> <!--[if lt IE 7]> <meta http-equiv="refresh" content="0; url=http://miwifi.com/cgi-bin/luci/web/ieblock" /> <![endif]--> <!--[if gte IE 9]> <style> body { filter: none; } </style> <![endif]--> <title>小米路由器</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <link href="/xiaoqiang/web/css/bc.css?v=0.0.3" rel="stylesheet"> <link href="/xiaoqiang/web/css/login.css?v=0.0.3" rel="stylesheet"> </head> <body> <div id="doc"> <div id="hd"> </div> <div id="bd"> <div class="mod-login">
Substitution
<!DOCTYPE html> <!--[if lt IE 7]><html class="ie6 oldie" lang="zh"><![endif]--> <!--[if IE 7]><html class="ie7 oldie" lang="zh"><![endif]--> <!--[if IE 8]><html class="ie8 oldie" lang="zh"><![endif]--> <!--[if gt IE 8]><!--> <html lang="zh"> <!--<![endif]--> <head> <meta http-equiv="X-UA-Compatible" content="edge" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="renderer" content="webkit"> <!--[if lt IE 7]> <meta http-equiv="refresh" content="0; url=http://miwifi.com/cgi-bin/luci/web/ieblock" /> <![endif]--> <!--[if gte IE 9]> <style> body { filter: none; } </style> <![endif]--> <title>小米路由器</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <link href="/xiaoqiang/web/css/bc.css?v=0.0.3" rel="stylesheet"> <link href="/xiaoqiang/web/css/login.css?v=0.0.3" rel="stylesheet"> </head> <body> <div id="doc"> <div id="hd"> </div> <div id="bd"> <div class="mod-login">