Home
Tester
Reference
About
Pattern
\((?>\((?<c>)|[^()]+|\)(?<-c>))*(?(c)(?!))\)
Input
some text
(text here(possible text)text(possible text(more text)))
end text
some text(text here(possible text)text(possible text(more text)))end text
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
1
match found in about
1
millisecond.
Show Permalink
Permalink
Index
Position
Matched String
${c}
0
9
(text here(possible text)text(possible text(more text)))
empty string
some text
(text here(possible text)text(possible text(more text)))
end text
some text
end text