Rinzwind wrote:

>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 ;)
>
>  
>
so use regex and replace both the double spaces and the <br>

cheers
albert

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

Reply via email to