preg_replace with /e was deprecated

PHP 5.5 complains about preg_replace with /e being deprecated