摘要: 小生初学编程,看了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 灰灰锅 阅读(175) 评论(0) 推荐(1) 编辑
摘要: 本来想在sae上写的,不过感觉还是没这个好用,不如就在cnblog上开一个吧,很适合程序猿用的~~ 阅读全文
posted @ 2012-03-13 10:30 灰灰锅 阅读(88) 评论(0) 推荐(0) 编辑