develooper Front page | perl.beginners | Postings from February 2009

regarding regular expression

Thread Next
From:
Irfan Sayed
Date:
February 26, 2009 06:45
Subject:
regarding regular expression
Message ID:
155497.89097.qm@web55908.mail.re3.yahoo.com
Hi All,
 
I have a string like this "pqp-un_1.0G_2009-02-23_17-38-09_5678903.txt " now what i need is only all digits before .txt till first underscore.
 
which means i need only output as 5678903
 
please please help.
 
Regards
Irfan.
 


      
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About