in reply to How to determine a variable value is a number

Replace ???? with /^[+-]?\d+$. Remove the [+-]? if you dont have a prefix sign.

T I M T O W T D I