In <[EMAIL PROTECTED]>, bruce wrote:

> here is a sample of the text i'm looking to do hte search/replace for...
> 
>                     <td valign="top" colspan="2" class="sectionheading"
> bgcolor="#ffffff" > ACCT 209 - SURVEY OF ACCT PRIN     &nbsp;</td>
> 
> i'm trying to figure out how to replace the "&nbsp" with a ''. in html, the
> '&nbsp;' char is not a valid ascii char...
> 
> in perl, i'd do 's /&nbsp;//' and be done with it!!!

And in Python I'd use the `replace()` method on strings and be done with
it!!!

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to