In a message dated 5/3/2004 2:58:40 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: >Hello All, > >I need a regular expression to extract only the number from the below >string. How is this done? > >x=G1234v00 > >Result=1234 > >William Black
print 'G1234v00' =~ /(\d+)/; -will http://www.wgunther.tk (the above message is double rot13 encoded for security reasons) Most Useful Perl Modules -strict -warnings -Devel::DProf -Benchmark -B::Deparse -Data::Dumper -Clone -Perl::Tidy -Beautifier -DBD::SQLite -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
