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
/
(?<=#region VARIAVEIS GLOBAIS).*?(?=#endregion)
/
s
Input 1
1
New
#region VARIAVEIS GLOBAIS string aux1 = "teste"; string aux2 = "teste2"; string aux3 = "teste3"; string aux4 = "teste4"; string aux5 = "teste5"; #endregion
Substitution
#region VARIAVEIS GLOBAIS string aux1 = "teste"; string aux2 = "teste2"; string aux3 = "teste3"; string aux4 = "teste4"; string aux5 = "teste5"; #endregion