Home
Tester
Reference
About
Pattern
(?<special>[+^%]*(?:\([^)]*\)|{[^}]*}))|(?<text>[\w\s]+)
Input
Text 1
^%+{TAB}
({CMD 1}{CMD 2})
Text 2
.
^(abc)
Text 1^%+{TAB}({CMD 1}{CMD 2})Text 2.^(abc)
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
5
matches found in about
3
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
${special}
${text}
0
0
Text 1
empty string
Text 1
1
6
^%+{TAB}
^%+{TAB}
empty string
2
14
({CMD 1}{CMD 2})
({CMD 1}{CMD 2})
empty string
3
30
Text 2
empty string
Text 2
4
37
^(abc)
^(abc)
empty string
Text 1
^%+{TAB}
({CMD 1}{CMD 2})
Text 2
.
^(abc)
empty string
Text 1
empty string
^%+{TAB}
empty string
({CMD 1}{CMD 2})
empty string
Text 2
.
^(abc)
empty string