def removebadchars(token):
    """
    Remove any undesirable characters that might gum up the works
    """
    translate = {'$': '', '&': '', '#': '', '*': '', '(': '', ')': '', '[': '', ']': '', ' ': '',
                '?': '','^': '', '`': '', '~': '', '{': '', '}': '', ',': '', '|': '', ':': '', ';': '', "'": '', '"': ''}
    for char in translate:
        token = token.replace(char, translate[char])
    return(token)