split by multiple delimiters

def multi_split(txt, delims):
    """ 
    split by multiple delimiters 
    """
    res = [txt]
    for delimChar in delims:
        txt, res = res, []
        for word in txt:
            if len(word) > 1:
                res += word.split(delimChar)
    return res