Here is what I have so far:
from bs4 import BeautifulSoup def cleanme(html): soup = BeautifulSoup(html) # create a new bs4 object from the html data loa
If you want a quick and dirty solution you ca use:
re.sub(r'<[^>]*?>', '', value)
To make an equivalent of strip_tags in php. Is that what you want?