$string = 'copied from a web page looking like this: “Test.” '; $string =~ s/“//g; $string =~ s/”//g;