I would like to match the comma's which are only outside the double quotes
I have written a regex as (?!(\"){1}(^\")*(\"){1})(,)
But this is not working!!! Can anyone please let me know the problem with this regex and correct it
The example is as follows :
If the string is abc,def,"ghi,jkl,mno",pqr,stu,"wxy"
If we do split on ,
by using regex then output should be should be as follows
abc
def
ghi,jkl,mno
pqr
stu
wxy