human
How to remove tags from a string in python using regular expressions? (NOT in HTML)
assistant
Here is some code to remove tags from a string `mystring`

re.sub('<[^>]*>', '', mystring)

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