I have a string like
String str = "1000,\"1123\",aabb,\"aa,bb\",test,\"abcd,\"";
I want to extract the substring by the delimiter comma ',' except for the comma which is marked with quotation marks. For the above example, I want to get the array is
1000 1123 abcd aa,bb test abcd,
I tried to use the regular expression, but I failed to find it. Please tell me how should I extract it. Many thanks.