Works for me.

>>> txt = "an unfortunate <br> in the middle"
>>> print txt.replace("<br>", "")
an unfortunate  in the middle
>>> 


Though I don't like the 2 spaces it gives ;)

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

Reply via email to