my $string = 'Hallo'; $string =~ tr/al/ex/; # ersetzt a durch e und l durch x