check if the string contains only letters and numbers
bool isAlphanumeric(String str) { return _alphanumeric.hasMatch(str); }