Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(|if\s*|IF|\s*and\s*|\s*AND\s*|\s*or\s*|\s*OR\s*)(\[[a-zA-Z\d\._=]*\])\s*(>=|<=|<|>|!=|==|\|\|)\s*("(.*)"|(-[\d]*|[\d]*))
/
gm

Description

Some if confitions

Submitted by anonymous - 8 months ago (Last modified 8 months ago)