I have a string
10013751290,STUBBY'S GYM,HELLO ( Mate (, HEY 'duran,duran',this is [ possible[ ] ]possible ,1232424
I want to split by , using regex in java, so the result I would be expecting is like
10013751290
STUBBY'S GYM
HELLO ( Mate (
HEY 'duran,duran'
this is [ possible[ ] ]possible
1232424
I tried the following expression ,(?=(?:[^']*\'[^']*\')*[^']*$)
I am getting only 4 matches whereas I should be getting 6.
Please can some one help. I have checked and its not a duplicate, slightly different.