def filter_interpolations(base: str, *args) -> str:
    """Filter the interpolations from a string

    Args:
        base (str): The text to filter
        *args: The interpolations (Memory objects) to filter
    """
    for memspace in args:
        base = str(base).replace(memspace.repr, str(memspace.value))
    return base