Regular Expressions 101

Community Patterns

Detect queries and whitespace after each of them

0

Regular Expression
ECMAScript (JavaScript)

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

Description

no description available

Submitted by anonymous - 4 years ago