in reply to regex to detect any non digit and number

First thing to do is to read about regexen. They are really important for most things you do with Perl. I'd recommend that you start with perlretut, perlrequick, perlre and perlreref.

When you have done that you will know that a negated character class like [^a-zA-Z\d.:] is what you are after. But read the documentation first.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: regex to detect any non digit and number
by blazar (Canon) on Oct 16, 2006 at 22:46 UTC