remove special characters and spaces from string
    and convert to lowercase

def cleanString(someText):
    """
    remove special characters and spaces from string
    and convert to lowercase
    """
    ret = ''
    if someText is not None:
        ret = filter(unicode.isalnum, someText.lower())
    return ret