I have a text like: "Something, some text between commas, between comma, and more text between commas, something something." I need to match every piece of text that is insides two commas. I found this regex /,([^,]*),/g
, but it is returning me:
, some text between commas,
, and more text between commas,
but i need it to return:
some text between commas
between comma
and more text between commas
Need your help guys.