import re


def remove_addendum_from_report(report: str) -> str:
    """Renove the addendum from a report.

    The addendum is expected to be in the following format:
    ---------------------------------------------Addendum start---------------------------------------------
    [Addendum text]
    ---------------------------------------------Addendum einde---------------------------------------------
    [Rest of report]
    """
    while True:
        match_start = re.search('-*Addendum start-*', report)
        match_stop = re.search('-*Addendum einde-*', report)
        if match_start is not None and match_stop is not None:
            # remove addendum from report by selecting the text before and after the addendum
            report = report[:match_start.span()[0]] + report[match_stop.span()[1]:]
        else:
            break
    return report