from bs4 import BeautifulSoup


def html_extraction(text):
    """
    Remove from the text html tags found on stack overflow data.

    :param text: string containing textual data mixed with specific html tags
    found on stack overflow data
    :return: a string in which specific html tags and it's content are removed
    and others tags are remove but not their content
    """

    soup = BeautifulSoup(text, 'lxml')
    tags = ('a', 'div', 'code', 'blockquote')

    for tag in tags:
        for occurrence in soup.find_all(tag):
            _ = occurrence.extract()

    return " ".join(soup.text.split())