private int IsDigitOrNumber(string str)
{
if(System.Text.RegularExpressions.Regex.IsMatch(str,@"(?i)^[0-9a-z]+$"))
return 1;
else return 0;
}
private int IsDigitOrNumber(string str)
{
if(System.Text.RegularExpressions.Regex.IsMatch(str,@"(?i)^[0-9a-z]+$"))
return 1;
else return 0;
}
相关文章: