A more generic pattern would be "^-?\d+$" this should match any string that is one or more numerics optionally preceded by a minus sign. The example above that uses {1,3} only match a numeric string that is a minimum of 1 to a maximum of 3 numeric characters in length.
_________________________
Home page: http://www.kixhelp.com/hb/