import re #### RE PATTERNS #### re_contains_meow = re.compile(r'((?') def cleanhtml(raw_html): cleantext = re.sub(RE_HTML_CLEANR, '', raw_html) return cleantext