Preg_replace /e modifier is deprecated in PHP 5.5

Found and changed 3 preg_replace with /e modifier with preg_replace_callback.