On 26 Dec 2006 04:22:38 -0800, placid <[EMAIL PROTECTED]> wrote: > So do you want to remove "&" or replace them with "&" ? If you want > to replace it try the following;
I think he wants to replace them, but just the invalid ones. I.e., This & this & that would become This & this & that No, i don't know how to do this efficiently. =/... I think some kind of regex could do it. -- Felipe. -- http://mail.python.org/mailman/listinfo/python-list