Updated number validatorto validate for phone number