in reply to How to remove the words before the dot using perl?

Hi finddata
Using regular expression,
#!/usr/local/bin/perl use strict; use warnings; #my $file = 'rev1.config'; my $file = 'checklist_tmp.config'; $file =~ s/\w+\././; print "$file\n"; Output: perl test.pl .config