摘要: 验证电话号码的主要代码如下: public bool IsTelephone(string str_telephone) { return System.Text.RegularExpressions.Regex.IsMatch(str_telephone, @"^(\d{3,4}-)?\d{6,8}$"); } 阅读全文
posted @ 2015-01-23 11:08 帝都蜗牛 阅读(299) 评论(0) 推荐(0) 编辑