摘要: int str="121212,1212" const string pattern = "^[0-9]*$"; Regex rx = new Regex(pattern); return rx.IsMatch(str); //bool类型 阅读全文
posted @ 2019-03-18 11:14 没有狐狸的南墙 阅读(5975) 评论(0) 推荐(1) 编辑