I was trying to use preg_match_all
when I should have been using preg_split
, but now that I’ve wrapped my mind around that problem the rest should be easy. I turn in my last paper today, so I should be able to finally have some real time to work on it.