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
/
<h2>\K[^<]+
/
gm
Input 1
1
New
<span><h2>Category 1</h2> <p><strong><u>Entry 1</u></strong></p> <ul><li>Some Data</li></ul> <h2>Category 2</h2> <p><strong><u>Entry 2</span> <ul><li>Some Data</li></ul> </span>