Regular Expressions 101

Community Patterns

0

ASM

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 4 years ago

Match Nested Parentheses v1

0

Regular Expression
PCRE (PHP <7.3)

/
\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*(?:(\([^\(\)]*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\))+?[^\(\)]*)*?\)
/
gm

Description

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