import re


def remove_html_tags(page):
    """Remove html tags from a string"""
    # clean = re.compile('<.*?>')
    clean_double_tags = re.compile(r"<(.*?)>(.*?)<(.*?)>")
    clean_single_tags = re.compile(r"<(.*?)>")

    page = re.sub(clean_double_tags, ' ', page)
    page = re.sub(clean_single_tags, ' ', page)

    return page