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

Re: Removing non digits

by dga (Hermit)
on Jul 23, 2003 at 15:09 UTC ( [id://277194]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $n =~ s/\D+//g;
    
  2. or download this
    $n =~ tr/0-9//cd;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found