正则表达式的使用
摘要:
/*正则表达式的使用*/using System.Text.RegularExpressions;namespace Frank{ public class Test { //程序入口 public static void Main(string[] args) { const string myText = "abcdeafsgabcadefgaaabcdefagaabcdefgaa"; string pattern = "a"; MatchCollection myMatches = Regex.Matches(myText,pattern... 阅读全文
posted @ 2013-11-30 16:20 wp456 阅读(177) 评论(0) 推荐(0)
浙公网安备 33010602011771号