On 26 Dec 2006 04:22:38 -0800, placid <[EMAIL PROTECTED]> wrote:
> So do you want to remove "&" or replace them with "&amp;" ? 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 &amp; that

would become

This &amp; this &amp; 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

Reply via email to