摘要: 需要引用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) 编辑