The input is a comma-separated list of fields.
Here is an example.
tna,performance,ma[performance,3],price
The issue is that some of t
This is what you need
(?<!\[[\w,]*?),
If brackets are nested within brackets, use this because the above would fail in that scenario..
(?<!\[[\w,]*?),(?![\w,]*?\])
works here
Try this :
"[a-z0-9]*(\\[[a-z0-9\\[\\],]+\\])*"