Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?xsm) (.+) # copy-past replacement to
/
gm

Description

This two-step find-replace routine gets you from MAX( MAX( MAX( to exprS = exprS & TrimRight("MAX( ") & _ exprS = exprS & TrimRight(" MAX( ") & _ exprS = exprS & TrimRight(" MAX(") & _

Submitted by anonymous - 6 years ago