def remove_between(start_part, end_part, tags=None):
    """Prepare a regex to replace a part of a string by three dots."""
    if tags:
        return (f"{start_part}.*{end_part}", f"{start_part} ... {end_part}", tags)
    else:
        return (f"{start_part}.*{end_part}", f"{start_part} ... {end_part}")