Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

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

Description

Insert GROUP BY statement for parameter (if there is no "GROUP BY" yet)

Submitted by anonymous - 6 years ago