public static bool IsAlphaNumeric(string strValue) { return Regex.IsMatch(strValue, "[A-Za-z0-9]"); }