in reply to Regular Expression ?

See also the discussion of Regexp::Common and Regexp::Common::number in only want numerics in field.

And yes, showing some code would be good.