I already managed to split the CSV file using this regex: \"/,(?=(?:[^\\\"]\\\"[^\\\"]\\\")(?![^\\\"]\\\"))/\"
But I ended up with an array of stri
Here's my quick attempt at it, although it will only work on word boundaries.
preg_replace('/([\W]){2}\b/', '\1', $csv)