def parse_column_name(string):
    # Find all words in the string
    words = Word(printables.replace('\n\r', '')).searchString(string)

    # Get the last word matched
    # TODO: Make it more complicated
    name = words.pop().asList().pop()
    return name
Parse column name from select query
dataset/ETHPy150Open coursera/dataduct/dataduct/database/parsers/select_query.py/parse_column_name