Home
Tester
Reference
About
Pattern
<tag>[^<]*(?:<(?!/?tag>)[^<]*)*</tag>
Input
<tag>abc</tag>
<tag>
<tag>123</tag>
<tag>abc</tag><tag><tag>123</tag>
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
16
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
0
0
<tag>abc</tag>
1
19
<tag>123</tag>
<tag>abc</tag>
<tag>
<tag>123</tag>
empty string
<tag>
empty string