Posted on 16th September 2024|40 views
How to remove HTML tags from python code?
Posted on 16th September 2024| views
Try this
def remove_tags(text):
return ''.join(xml.etree.ElementTree.fromstring(text).itertext())