Home
Tester
Reference
About
Pattern
(?<=XXX >>> \[|\G)([^][,]*),(?=[^][]*\])
Input
ab, xy, de XXX >>> [
a,
b,
c] foo, bar, baz
ab, xy, de XXX >>> [a, b, c] foo, bar, baz
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...
$1.
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
2
matches found in about
3
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
0
20
a,
a.
a
1
22
b,
b.
b
ab, xy, de XXX >>> [
a.
b.
c] foo, bar, baz
ab, xy, de XXX >>> [
a
empty string
b
c] foo, bar, baz