Regular Expressions 101

Community Patterns

Detect queries and whitespace before each of them

0

Regular Expression
ECMAScript (JavaScript)

/
^(?:[\n|\t])*.+?(?:[^;']|(?:'[^']+'))+;$
/
gm

Description

no description available

Submitted by anonymous - 4 years ago