now I have got a long string like this
{"" ,"" ,"" ,"" } , {"" ,"" ,"" ,"" }
there could be anything in between " " even Unicode characters. I used something like this
string pattern = "\"([\u0000-\uffff]+)+\"";
but it just returns everything instead of return one by one.
I used Groups and Capture properties ,Capture Collection has info about everything matched but still I can’t extract what I need. I need to extract everything in between "" one by one. I don’t need to extract the { } " " , just contents in between each " ".
So in my case there should be 8 groups should be returned, how can I do this?
If pattern
","is a reliable delimiter (cannot appear as text) and there are no empty spaces between curly brackets and quotation marks, you can use this approach: