import re


def remove_html_elements(string: str) -> str:
    """Removes any html elements and attributes from any string passed"""
    regex = re.compile("<.*?>")
    clean_text = re.sub(regex, "", string)
    return clean_text