import re


def removehtml(html_string):
    """
    Takes in a string that may contain HTML tags as an input.
    Returns the string with the tags replaced with spaces.
    """

    # Specifies a regular expression you want to isolate. Here, we isolate HTML tags.
    html_text = re.compile('<.*?>')

    # We replace the HTML tags with a space in our input.
    html_removed = re.sub(html_text, ' ', html_string)

    # We return the string with the HTML tags removed.
    return html_removed