Replaced Split for Preg_Split

replaced split() for preg_split(). split() has been deprecated as of PHP 5.3
Merge pull request #3 from codex73/master

Replaced Split for Preg_Split