Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-12-27 18:49
Flavor·Python

r"
\([^\)]*\)*
"
g
Open regex in editor

Description

Matches anything wrapped in parenthesis. Can handle nested and consecutive sets of parenthesis.

Submitted by Nic Roland