Regular Expressions 101

Library entries

Capture nested strings using recursion

Vote

1

Regular Expression
pcre

/
(?=(\(((?:(?-2)|[^()]+)+)\)))\(
/
g

Description

Loading markdown...
Submitted by anonymous - 6 years ago