Fixing preg_replace call.