Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
The regex tested for all occurences of % that are not within quotation
Open Workspace
PCRE (Legacy)
Match
Created 2014-12-19 14:49
1
Regular Expression
/
[^
"'
]
.
*?
%
.
*?
[^
'"
]
/
g
Description
all occurences of % that are not within quotation characters
Submitted by
Igor Savinkin