摘要: 对于只存储一个匹配,可用Match类: 一般模式: Regex reg = new Regex(string pattern); string str = "###############"; Match ma = reg.Match(str); 确定是否成功,用 if(ma.Success)判断 阅读全文
posted @ 2018-02-18 12:47 上清风 阅读(209) 评论(0) 推荐(0) 编辑