strip not well formed html tags...

Shagshag13 shagshag13 at yahoo.fr
Tue Oct 22 04:44:34 EDT 2002


hello,

i've seen many post about how to strip html tags from a string, some use sgmllib, others regular expressions... i 'd the following
trouble i would like to strip html (or even xml) tags but i had to work on incomplete string so they could be not well formed - what
should i use ? regexp ? sgmllib with many exceptions handling ?

Thanks in advance for yours advices ?

s13.








More information about the Python-list mailing list