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
/
# the opening delimiter (["']) # the body is (?: # either an escaped delimiter \\\1 # or | # anything except a backslash or a delimiter (?!\\|\1). # (can't put \1 in a character class, so use a negative lookahead) )* # repeated zero or more times# the closing delimiter \1
/
xg
Input 1
New
{if Server:GetPhpSelf == "/ind'ex.php"} foo 'hhhh"hhh""hhh' plonk foo "meep\"meep" plonk foo 'meep\'meep' plonk
Substitution
{if Server:GetPhpSelf == "/ind'ex.php"} foo 'hhhh"hhh""hhh' plonk foo "meep\"meep" plonk foo 'meep\'meep' plonk