Help for this page
$ perl -le ' > $search = q{(.*)\d{6}\.txt$}; ... > print $to_modify;' AAAA200912.txt XXXX_AAAA