Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(.*)%%sql\s+-o\s+(\w+)\s+(\-([n|q|r])(\s+[a-z0-9]+)?)?\s?(\\n)?\s?select\s+(.+)\s+from([\w\s\.\-'\"=]+)(\\n)?(.*)$
/
gm

Description

no description available

Submitted by anonymous - 5 years ago