ITeye博客

.net

共 1 篇文章

常用正则表达式

[code="java"]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EETOP.AbleAPI.Common { /// /// 常用正则表达式 /// public class CommonRegex { public const string email = "^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$"; public con…

2015-02-07 14:19 · .net · 正则表达式