from typing import Dict
import re


def apply_list_replace(input_str: str, replacements: Dict[str, str]) -> str:
    """
    Apply a series of replacement on the input.
    
    :param input_str: the string to be modified
    :param replacements: a Dict regex -> replacement. Each item will be passed to re.sub()
    :return: the modified string
    """
    temp = input_str
    if isinstance(replacements, dict):
        for replacement in replacements.items():
            temp = re.sub(replacement[0], replacement[1], temp)
    return temp