in reply to Re^2: quotes substitutionin thread quotes substitution
$ cat 775558.pl
my $line="” 3&rdquo;";
$line =~ s/(?:&|&\;)rdquo;/'/g;
$ perl 775558.pl
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (454 votes). Check out past polls.