Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

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

Description

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

Submitted by anonymous - 6 years ago