import re


def remove_html_tags(text):
    """Remove html tags from a string"""

    try:
        clean = re.compile('<.*?>')
        return re.sub(clean, '', text).replace('\\n \\n', '')\
                                      .replace('\\r\\n', '')\
                                      .replace('\\r', '')\
                                      .replace('\\n', '')\
                                      .replace('  ', ' ')\
                                      .replace('&nbsp;','')\
                                      .replace('&rsquo','')\
                                      .lstrip()\
                                      .rstrip()
    except:
        return ' '