摘要:
小生初学编程,看了javascript的正则,但很少有介绍c#的。其实和其他语言也差不多,没有啥大同小异http://msdn.microsoft.com/zh-cn/library/30wbz966(v=VS.85).aspx这上面讲的不错首先是单个匹配 // Create a new Regex object. Regex r = new Regex("abc"); // Find a single match in the string. Match m = r.Match("123abc456"); if (m.Success) { ... 阅读全文
posted @ 2012-03-26 22:18
灰灰锅
阅读(179)
评论(0)
推荐(1)
浙公网安备 33010602011771号