[EMAIL PROTECTED] wrote:

> text=re.sub(r'(?s)\<.+?\>', '', html_text)
> (this will keep html entities, though)

here's a variation that handles that too:

     http://effbot.org/zone/re-sub.htm#strip-html

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to