Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Strip non-numeric

by rbc (Curate)
on Jan 13, 2003 at 22:52 UTC ( #226639=note: print w/replies, xml ) Need Help??


in reply to Strip non-numeric

try ...
$scalar = "a1b2"; $scalar =~ s/\D//g; print "$scalar\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://226639]
help
Chatterbox?
[talexb]: Oof .. Two different sets of friends said good-bye to a parent last week. My concolences to their families.

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 2017-06-26 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (580 votes). Check out past polls.