Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Regex help

by Anonymous Monk
on Nov 18, 2002 at 09:08 UTC ( #213697=note: print w/replies, xml ) Need Help??


in reply to Regex help

the carret "^" must be within bracket angles:

/[^A-Za-z0-9]/ .... for single character
/[^A-Za-z0-9]+/ .... for multiple characters

--- PS:
your example matched single character atd begin of line

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2023-09-25 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?