Regular Expressions 101

Community Patterns

Remove in between all { [ ( } ] )

0

Regular Expression
PCRE (PHP <7.3)

/
(?=(\[((?:(?-2)|[^\[\]]+)+)\]))\[|(?=(\(((?:(?-2)|[^\()]+)+)\)))|(?=(\{((?:(?-2)|[^\{\}]+)+)\}))
/
gm

Description

no description available

Submitted by anonymous - 5 years ago