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
~
<script>((?!</script).)*?site(?1)*</script>
~
gsi
Input 1
1
New
<script> o.com bla bla bla </script><p>this is line></p> <script> google.com/jquery.js ! </script> <script> site.com bla bla bla </script><p>aa</p> CONTENT STYLE SIDEBAR ... <script> site.com aaa bla bla bla </script><p>a</p>
Substitution