Fix input validation regexes to allow more characters.