in reply to How to check Inputs if Numeric
m/^[+-]?\d+$/ [download]
m/^[-+]?\d+(?:\.\d*)?(?:[eE][-+]?\d+(?:\.\d*)?)?$/ [download]