Removed deprecated split() call, Replaced preg_replace search to consider unicode characters