$text =~ s/&/&/gi; $text =~ s/&/&/g; [download]
In reply to Re: Parsing un-encoded ampersand in XHTML by TedPride in thread Parsing un-encoded ampersand in XHTML by Anonymous Monk