Home
Tester
Reference
About
Pattern
(?<!^){((?>[^{}]+|{(?<c>)|}(?<-c>))*(?(c)(?!)))}
Input
{abc}
{mno{xy{z}}}
{abc}{mno{xy{z}}}
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
9
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
$1
${c}
0
5
{mno{xy{z}}}
mno{xy{z}}
empty string
{abc}
{mno{xy{z}}}
{abc}
mno{xy{z}}
empty string