![]() |
|
XP is just a number | |
PerlMonks |
Re: Regex helpby jreades (Friar) |
on Nov 16, 2002 at 13:58 UTC ( #213394=note: print w/replies, xml ) | Need Help?? |
If you want anything that isn't a digit or a leter (or an underscore), then you might consider using: \W
Or:
Otherwise:
Or:
There's not much to chose between =~ and !~, but I generally like the emphasis of saying "as long as it's not one of these things..."
In Section
Seekers of Perl Wisdom
|
|