//验证手机号
Regex r = new Regex(@"^(13|15|18)\d{9}$");
return r.IsMatch(mobilePhone);
//带86或者+86的手机号
Regex regexMobile = new Regex(@"^((\+86)|(86))?(13|15|18)\d{9}$");
//验证是否为中文
Regex regex = new Regex("^[一-龥]+$");
//Decimal(8,4)类型小数的验证
Regex rx = new Regex(@"^-?(?:[1-9][0-9]{0,3}|0)(?:\.[0-9]{1,4})?$");
//验证输入是否为数字和字母的组合
regex = new Regex("^[一-龥_a-zA-Z0-9]+$");
//验证输入是否全为数字
regex = new Regex("^[0-9]+$");
//验证输入是否全为中文
regex = new Regex("^[一-龥]+$");
//电子邮件
regex=new Regex(@"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$");
//验证网址
regex = new Regex(@"http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?");
//电话号码
regex = new Regex(@"(\d{3})?\d{8}|(\d{4})(\d{7})");