Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: php to perl

by wazoox (Prior)
on Jul 07, 2011 at 11:24 UTC ( [id://913163]=note: print w/replies, xml ) Need Help??


in reply to Re^4: php to perl

Very easily.
$foo = "My number is 123456"; $num = $foo; $num =~ s/(\W|\D)//g; print $num;

Replies are listed 'Best First'.
Re^6: php to perl
by Anonymous Monk on Jul 09, 2011 at 23:50 UTC
    very good

    thanks you

    for reponse :-)

    best regards

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-24 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found