I have a string string test = 'Roger','Switzerland','"test"','"','44','','','','1"','2','"tennis',' player"','10/01/2019 1:30:46 PM';
string Pattern = "((?<='\").+?(?=\"'))" ;
I only need to get the ',' pattern inside a pair of '" "'. EG: the ',' inside '"','44','','','','1"' and '"tennis',' player"' not anything else.
Using Pattern, I managed to get the whole strings '"','44','','','','1"' and '"tennis',' player"' , but the single quote combination inside this substring. Is there any kind of AND operator I could use to get the desired output.
Aucun commentaire:
Enregistrer un commentaire