摘要: 2011-02-23 11:33:08|分类:工作中的技术积累|字号订阅public bool IsTelephone(string str_telephone) { return System.Text.RegularExpressions.Regex.IsMatch(str_telephone, @"^(\d{3,4}-)?\d{6,8}$"); }验证手机号码的主要代码如下:public bool IsHandset(string str_handset) { return System.Text.RegularExpressions.Regex.IsMatch(st 阅读全文
posted @ 2013-06-02 17:41 xiamou 阅读(157) 评论(0) 推荐(0)