def multi_replace(s, rep_dict):
    """
    Replace multi strings

    Parameter
    ---------
        s: string
            The string need to be replaced
        rep_dict: dict
            The replace patterns, {old: new}
    Return
    ------
        s: string
            The replaced string
    """
    for pattern in rep_dict:
        s = s.replace(pattern, rep_dict[pattern])
    return s