摘要: 正则表达式检测IP地址与端口号是否合法,代码如下: 正则表达式检测IP地址 public static bool CheckAddress(string s) { bool isLegal = false; Regex regex = new Regex(@"^((2[0-4]\d|25[0-5]| 阅读全文
posted @ 2019-08-07 10:52 龙骑科技 阅读(4560) 评论(1) 推荐(0)