会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
落叶的瞬间
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
正则
正则表达式
摘要:#region 验证手机号码 /// /// 验证手机号码 /// /// 手机号码 /// public static bool IsTelephone(string strTelephone) { return Regex.IsMatch(strTe...
阅读全文
posted @
2016-08-06 12:44
落叶的瞬间;
阅读(300)
评论(0)
推荐(0)
常用正则表达式
摘要:1 public static bool IsTelephone(string strTelephone) 2 { 3 return Regex.IsMatch(strTelephone, "^1\\d{10}$"); 4 } 一、正则表达式(regular expression简称res) 1、定
阅读全文
posted @
2016-03-30 10:45
落叶的瞬间;
阅读(276)
评论(0)
推荐(0)
公告