The person who designed this database decided to make a multi-value column for "subjects" with each value written like an ordered list, i.e. "1. [subject] 2. [another subject] 3. [a third subject]" etc. I want to make an array of every subject used, so I need to split these values into distinct subjects.
$subjects = preg_split("[0-9]+\.\s", $subject);
When I run this, I get a Warning: preg_split() [function.preg-split]: Unknown modifier '+'.
What am I doing wrong?