Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: leaving only [a-zA-Z0-9]

by BrowserUk (Patriarch)
on Mar 21, 2004 at 13:51 UTC ( [id://338449]=note: print w/replies, xml ) Need Help??


in reply to leaving only [a-zA-Z0-9]

See perlop "Quote-like operators".

$a =~ tr[A-Za-z0-9][]cd;

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Log In?
Username:
Password:

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

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

    No recent polls found