data type validator fixed regex patterns