会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
知我罪我,其惟春秋
博客园
首页
新随笔
联系
管理
订阅
2016年8月22日
C#常用的正则表达式
摘要: 需要引用using System.Text.RegularExpressions; Regex r = new Regex("^\\s*([A-Za-z0-9_-]+(\\.\\w+)*@(\\w+\\.)+\\w{2,5})\\s*$"); if (r.IsMatch(xxx@qq.com)) {
阅读全文
posted @ 2016-08-22 15:46 可可木西
阅读(263)
评论(0)
推荐(0)
编辑
公告