change preg_replace syntax