Regular Expressions 101

Library entries

The regex tested for all occurences of % that are not within quotation

Vote

1

Regular Expression
pcre

/
[^"'].*?%.*?[^'"]
/
g

Description

Loading markdown...
Submitted by Igor Savinkin - 7 years ago