会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
适当的废话
博客园
首页
新随笔
联系
订阅
管理
2017年7月4日
判断是否英文字母或数字的C#正则表达式
摘要: private int IsDigitOrNumber(string str) { if(System.Text.RegularExpressions.Regex.IsMatch(str,@"(?i)^[0-9a-z]+$")) return 1; else return 0; }
阅读全文
posted @ 2017-07-04 17:35 慢慢摸索
阅读(9511)
评论(0)
推荐(0)
公告