Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-05-07 11:40
Flavor·PCRE2 (PHP)

/
(ON|JOIN|WHERE|OR|AND)(\s*?.*)(?<func_name>[a-zA-Z]*?\((?<params>[\w\s\.]+)\))
/
gm
Open regex in editor

Description

find non-sargable sql

Submitted by nick preston