human
Strip HTML from strings in Python
assistant
Here is some code to strip html from strings

re.sub('<[^<]+?>', '', text)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.