$a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; $a =~ s/^\S{5}(\S{4})\S+/$1xxxx/ ; [download]
In reply to Re^2: howto replace part of a string by CountOrlok in thread howto replace part of a string by jeanluca