Fix the preg_replace problem