Compatiblity with PHP 5.5

/e modifier is deprecated in preg_replace()