i have some html that looks like this

<address style="color:#">34 main,<br> Boston, MA</address>

and i am trying to use the replace function to get rid of the <Br> that
i scrape out using this code:

for oText in incident.fetchText( oRE):
            strTitle += oText.strip()
            strTitle = string.replace(strTitle,'<br>','')

but it doesn't seem to remove the <br>

any ideas?

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

Reply via email to