Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\{(?<contents>(([^\{\}|(\r?\n)]*)|(\{[^\{\}|(\r?\n)]*\})|(.*?))*)\}
/
gm

Description

Test03

Submitted by anonymous - 4 years ago