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
@"
<(h[1-6]){1}(?:.*?)?>(.*?)</h[1-6]>
"
g
Input 1
<h1 sdf asd style="border-radius:50ox; border-radius:50ox; border-radius:50ox;" class="" >1. Make sure you apply for an ESTA</h1><div><p></p> <h1 style="position: relative; bottom: 30px;" adsasdas >Are you planning to visit the United States? Here are <h4> Relaxation </h4> <h4> Relaxation </h4> <h4> Relaxation </h4> <h4> Relaxation </h4> <h4> Relaxation </h4> 12-31-25 asd 11 Travel Tips for USA</h1> . <img class="aligncenter wp-image-933" title= dasd"travel_tips_for_usa" src="https://usa-esta.us/wp-content/uploads/2014/10/travel_tips_for_usa1-1024x640.jpg" alt="" width="614" height="384"> Planning a trip to the USA can be quite exciting! It is useful to get familiar with some local customs. The following tips will introduce you to some very common American habits that might not be familiar to all visitors, especially first timers. The <a style="asdasd asdasd" dsdfsdfasdasd>ss</a> States is among the world’s top desti
Substitution
<h1 sdf asd style="border-radius:50ox; border-radius:50ox; border-radius:50ox;" class="" >1. Make sure you apply for an ESTA</h1><div><p></p> <h1 style="position: relative; bottom: 30px;" adsasdas >Are you planning to visit the United States? Here are <h4> Relaxation </h4> <h4> Relaxation </h4> <h4> Relaxation </h4> <h4> Relaxation </h4> <h4> Relaxation </h4> 12-31-25 asd 11 Travel Tips for USA</h1> . <img class="aligncenter wp-image-933" title= dasd"travel_tips_for_usa" src="https://usa-esta.us/wp-content/uploads/2014/10/travel_tips_for_usa1-1024x640.jpg" alt="" width="614" height="384"> Planning a trip to the USA can be quite exciting! It is useful to get familiar with some local customs. The following tips will introduce you to some very common American habits that might not be familiar to all visitors, especially first timers. The <a style="asdasd asdasd" dsdfsdfasdasd>ss</a> States is among the world’s top desti