Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Help with a regex

by zer (Deacon)
on Sep 07, 2007 at 14:23 UTC ( #637660=note: print w/replies, xml ) Need Help??


in reply to Help with a regex

#!/usr/bin/perl my $string="testing.123"; $string =~ /\.([0-9]+)$/; $result = $1; print "$result\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://637660]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2022-08-12 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?