Home
Tester
Reference
About
Pattern
(?>(?<O>)\p{Lu}\{|\}(?<Target-O>)|\p{Ll})+(?(O)(?!))
Input
tes
{}
tR{R{abc}aD{mnoR{xyz}}}
tes{}tR{R{abc}aD{mnoR{xyz}}}
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
2
matches found in about
2
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
${O}
${Target}
0
1
tes
empty string
empty string
1
6
tR{R{abc}aD{mnoR{xyz}}}
empty string
R{R{abc}aD{mnoR{xyz}}}
4 captures
R{abc}
R{xyz}
D{mnoR{xyz}}
R{R{abc}aD{mnoR{xyz}}}
tes
{}
tR{R{abc}aD{mnoR{xyz}}}
whitespace
{}
R{R{abc}aD{mnoR{xyz}}}
whitespace