def remove_tags(text: str) -> str:
    """ Removes <tags> in angled brackets from text. """

    tags = {i:" " for i in re.findall("(<[^>\n]*>)",text.strip())}
    no_tag_text = reduce(lambda x, kv:x.replace(*kv), tags.iteritems(), text)
    return " ".join(no_tag_text.split())
Removes <tags> in angled brackets from text.