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
/
.*(<table>.*?<\/table>)
/
s
Input 1
New
<div> <table>1<table> <table>2</table> <table>3</table> - i need this one and all its contents <div>
Extraction
<div> <table>1<table> <table>2</table> <table>3</table> - i need this one and all its contents <div>