Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-11-22 06:59
Flavor·PCRE (Legacy)

/
^([\w\W]+?)((?:\s\w+\.){0,}\[{0,}(`){0,}Дата ввода\3{0,}\]{0,})([\w\W]+)GROUP BY(.+)$
/
gs
Open regex in editor

Description

Insert GROUP BY statement for parameter (if there is already another "GROUP BY")

Submitted by anonymous