Monday, 26 August 2013

Removing all HTML tags along with their content from text using BeautifulSoup?

Removing all HTML tags along with their content from text using
BeautifulSoup?

I am wondering how I can delete all HTML tags along with their contents
using BeautifulSoup.
Input:
... text <strong>ha</strong> ... text
Output:
... text ... text

No comments:

Post a Comment