//判断是否英文字母或数字 public bool IsNatural_Number(string str) { System.Text.RegularExpressions.Regex reg1 = new System.Text.RegularExpressions.Regex(@"^[A-Za-z0-9]+$"); return reg1.IsMatch(str); }
posted on 2010-12-06 11:18 Jan.David 阅读(407) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 Jan.David Powered by .NET 8.0 on Kubernetes