Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Think about Loose Coupling
 
PerlMonks  

Re: Regex help

by mikeirw (Pilgrim)
on Nov 16, 2002 at 13:54 UTC ( #213393=note: print w/ replies, xml ) Need Help??


in reply to Regex help

What you want is:

=~ /[^A-Za-z0-9]/

Which could also be written as:

=~ /\W/

...which would also include the underscore in addition to the alphanumeric characters. See perlre for more info.


Comment on Re: Regex help
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2014-04-18 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls