XP is just a number | |
PerlMonks |
Re: grep questionby l.frankline (Hermit) |
on Nov 17, 2005 at 06:01 UTC ( [id://509299]=note: print w/replies, xml ) | Need Help?? |
Hi, Try this.... $_= 'file1_system_051117123050.txt';($_) = grep s/.*(\d{4})\d{4}\.txt/$1/, $_; print $_;
Regards Franklin Don't put off till tomorrow, what you can do today.
In Section
Seekers of Perl Wisdom
|
|