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
/
[\w]+=[\w" :]+
/
gm
Input 1
1
New
<table id="this is id"> <tr id="this tr id"> <a href="https://www.w3schools.com">Visit W3Schools.com!</a> <div id="this is div id"><span id="div Class:a">this is span text</span></div> </tr> </table>
Extraction
<table id="this is id"> <tr id="this tr id"> <a href="https://www.w3schools.com">Visit W3Schools.com!</a> <div id="this is div id"><span id="div Class:a">this is span text</span></div> </tr> </table>