I have string like the below :
"18","1st",0,"Beattie, Mr Thomson",36.0000,"Cherbourg","Winnipeg, MN","C-6","","","male"
I want to split the string using comma ,ignoring the commas inside the quotes using the split function .
i tried this
line.split("(?:(?:\"\w*\"|\d*)),(?:(?:\"\w*\"|\d*))")