I'm not sure whether you mean that:
my $rd = int( rand(100000)) + 999999; $filename =~ s/_00001\./_$rd./;
Best regards
McA
In reply to Re: Filename change with regular expression
by McA
in thread Filename change with regular expression
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |