s/[^[:print:]]/$hash{$&}/g; # Some people dislike $&