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 ;)