Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(>[^<]*)\n([^<]*<)
/
g
Test String
New
<table> <tr><th>HEader 1</th><th> header 2</th> </tr> <tr><td>cell content</td><td>cell 2</td></tr> </table>