import re


def extract_metar_from_html_line(raw_metar_line):
    """
    Takes a raw line of HTML from the METAR report and extracts the METAR from it.
    NOTE: A "$" at the end of the line indicates a "maintainence check" and is part of the report.
    Arguments:
        metar {string} -- The raw HTML line that may include BReaks and other HTML elements.
    Returns:
        string -- The extracted METAR.
    """
    metar = re.sub('<[^<]+?>', '', raw_metar_line)
    metar = metar.replace('\n', '')
    metar = metar.strip()

    return metar