Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
SELECT [\w\s\(\*\)\,]* FROM ticket_file [\w\s\"\'\`\<\>\=]*
/
gm

Description

Pattern to detect certain SQL queries in the PROCESSLIST results.

Submitted by anonymous - 2 years ago