data type validatorinteger and double regex patterns  fixed to work with negatives