import re


def subs_text(text, lst):
    """Same as replaceChars but uses a list instead of a dictionary.

    Args:
        text: The text that will be substitute
        
        lst: A list that contains regexes for denoising text   

    Returns:
        text: New text without garbages 
    """
    for n in range(0,len(lst)):
        text = re.sub(lst[n][0], lst[n][1], text, flags=re.DOTALL)

    return text