Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-11-22 04:25
Flavor·PCRE (Legacy)

/
^(.+?)((?:\s\w+\.){0,}\[{0,}(`){0,}Тип заканчивания\3{0,}\]{0,})(.+)$
/
gs
Open regex in editor

Description

Insert GROUP BY statement for a parameter (if no previous "GROUP BY" is present)

Submitted by anonymous