SyntaxFix
Write A Post
Hire A Developer
Questions
I use this expression. It takes into account a space after a comma, which I have come across.
(?:,"|^"|, ")(""|[\w\W]*?)(?=",|"$)|(?:,(?!")|^(?!"))([^,]*?)(?=$|,)|(\r\n|\n)