I'm trying to read data from a CSV, and need to know a regular expression to split the line:
Here's what I have so far, but it doesn't work:
$pattern = '/(,(?: ))/';
$line = preg_split($pattern, $data);
please do NOT tell me about fgetcsv(), I'm aware of that, but I think using a regex would be easier.