http://www.perlmonks.org?node_id=1083037


in reply to Re: only want numerics in field
in thread only want numerics in field

bigj,
Your regex will indicate that .25 is not a number. You also require a leading sign [+-]. I realize that defintion of "what is numeric" is sorely lacking by the OP but I wanted to point this out to anyone who may come along later.

Cheers - L~R