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

Re: Stripping characters...

by hotshot (Prior)
on Mar 04, 2003 at 09:09 UTC ( [id://240276]=note: print w/replies, xml ) Need Help??


in reply to Stripping characters...

you can also use:
$string =~ s/[A-Za-z]//g;
you just need to add 'g' at the end of your regexp.

Hotshot

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-23 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found