Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
~
.*? ( <div\ id="content" .+? ) <div\ id="footer
~
gxs
Input 1
1
New
hello this is some text I don't want asdf asdfasd ff <div id="content" class="other"> i have this other stuff <div>More stuff</div> <div id="footer> hello^[^_]*_ asd;flkjasd f;kas dfas df asdf a2 5<div id="footer"><div id="content></div>
Extraction