Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^5: php to perl

by wazoox (Prior)
on Jul 07, 2011 at 11:24 UTC ( #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;

Comment on Re^5: php to perl
Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2015-11-29 06:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (748 votes), past polls