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
/
(<STYLE>).*(<\/STYLE>)
/
sg
Test String
New
<STYLE> group 1 </STYLE> Random text here which shall not be removed. <STYLE> group 2 </STYLE> Some more random text here which shall not be removed. <STYLE> group 3 </STYLE>
Substitution
Processing...