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-z]*=)[^"<>])*)()(?=[\s>]|/>)|(?!")()((?:(?![a-z]*=)[^"<>])*)("))
'
g
Input 1
1
New
<table pgwide="0" id="dvr_config_firmware> <title>DFR Firmware</title> <tgroup cols="2"> <colspec colname="col1> <colspec colname="col2"> <info date="09 JAN 2000 version="1.0">
Substitution
="\2\5"
<table pgwide="0" id="dvr_config_firmware> <title>DFR Firmware</title> <tgroup cols="2"> <colspec colname="col1> <colspec colname="col2"> <info date="09 JAN 2000 version="1.0">