$line =~ m/\s+([a-zA-Z0-9])$/; print "$1
"; #### my ($file) = ( $line =~ m/\b([a-zA-Z0-9]+)$/); print "$file
" if defined($file);