simplify alphanumeric check