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.fetchT ext( oRE):
strTitle += oText.strip()
strTitle = string.replace( strTitle,'<br>' ,'')
but it doesn't seem to remove the <br>
any ideas?
<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.fetchT ext( oRE):
strTitle += oText.strip()
strTitle = string.replace( strTitle,'<br>' ,'')
but it doesn't seem to remove the <br>
any ideas?
Comment