Fixed use of deprecated e-modifier for preg_replace (php5.5)