Home
Tester
Reference
About
Pattern
\[((?>[^][]+|(?<o>)\[|(?<-o>]))*)]
Input
[tex1]
[text [2]]
[tex1] [text [2]]
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
10
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
$1
${o}
0
0
[tex1]
tex1
empty string
1
7
[text [2]]
text [2]
empty string
[tex1]
[text [2]]
empty string
tex1
whitespace
text [2]
empty string