2014年9月11日
摘要: C#regex是正则表达式类用于string的处理,查找匹配的字符串。1,先看一个例子Regex regex=new Regex(@”OK“);//我们要在目标字符串中找到"OK"Match m=regex.Match("fjsladfOK");console.writeline(m.tostrin... 阅读全文
posted @ 2014-09-11 18:04 Bluehand 阅读(609) 评论(0) 推荐(0) 编辑