Hi,
What do you want to do with your matches? You could use the principle of 'good string bad string'. Basically you have an alternating group. Bad stuff on the left of the pipe, good stuff on the right. By using capture groups you capture the good stuff. No I dont't know which language you are using, but some allow you to refer to capturing groups when matching.
So this would be it:
\".*?\"|([,\r\n])
\1 would refer to the stuff you need to match.
Regards,
Theo.
Op woensdag 20 januari 2016 20:24:54 UTC+1 schreef Gustav Stensson: