Fix the regex pattern that finds the "bad characters" for deeplink payload.