摘要: C#regex是正则表达式类用于string的处理,查找匹配的字符串。1,先看一个例子Regex regex=new Regex(@”yOK“);//我们要在目标字符串中找到"OK"Match m=regex.Match("fjsladfyOK");console.writeline(m.tostr... 阅读全文
posted @ 2015-05-29 13:50 蚁仔 阅读(6555) 评论(0) 推荐(0)