@staticmethod
def replace_all(text, dic):
    """"Returns a string replacing all the sequence of characters defined in the dictionary . """
    for key, value in dic.items():
        text = text.replace(key, value)
    return text
