Validates format of