RegEx

[Java] Splitting a comma-separated string but ignoring commas in quotes

Sometimes we need to parse strings like this: ```text "1234567890","James",man,"New York, NY, USA" ``` And the output we need is as follows: ```text "1234567890" "James" man …

avatar
Shenghui (Samuel) Gu