check if the string is alphanumeric
bool isAlphanumeric(String str) { return _alphanumeric.hasMatch(str); }