What i want is the following result: 0207010008.monday on my display Can you specify bugs in this code. I need your help.star7my $file = "textfile.020701_00:08"; my $time = substr($file, 9,12); $time =~ s/(\d{6})(\d{1})(\d{2})(\d{1})(\d{2})/"$1$3$5.monday"/; print "TIME: $time"
In reply to extract date from filename - need help by star7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |