private int IsDigitOrNumber(string str)
{
if(System.Text.RegularExpressions.Regex.IsMatch(str,@"(?i)^[0-9a-z]+$"))
return 1;
else return 0;
}
转载于:https://www.cnblogs.com/qinweizhi/p/7117717.html
private int IsDigitOrNumber(string str)
{
if(System.Text.RegularExpressions.Regex.IsMatch(str,@"(?i)^[0-9a-z]+$"))
return 1;
else return 0;
}
转载于:https://www.cnblogs.com/qinweizhi/p/7117717.html