capture each item in comma seperated list with reg ex?
I have a comma separated list, the curve ball is, some of the items are strings with commas inside them (so I cant just exploid the string using a comma as a separator). How can I write a reg to capture the 10 items?
list might be like this
"item 1", 2, 4545, "fgdfg", 435345, "10,000", "asdasd", "some other string, ok?"
In other words, each item is separated by a comma, but some items are string (double quotes) that contain comma themselves.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)