I have a txt file and it has lines like below:
"abc","bkc", "New York", "NY","cool guy"
I am looking to replace comma with semicolon(;) that don't have a comma inside double quotes:
Desired Output:
"abc";"bkc"; "New York"; "NY";"cool guy"
Is there a way to do this in Java?
","with";", correct? I mean every appearance of three characters where first character is a double quote, second character is a comma and third character is another double quote.