import re


def get_first_line_text_from_html(html_string):
    """reduce html to the first line of text and strip all html tags
    """
    if html_string is None:
        return None
    p_div = re.compile(r"</?(p|div|br).*?>",
                       re.IGNORECASE | re.DOTALL)
    html_string = p_div.sub("\n", html_string)
    html_string = re.sub('<[^<]+?>', '', html_string)
    html_string = html_string.split('\n', 1)[0]

    return html_string