C# 正则表达式

 用例

1             const string pattern = @"ion";
2             const string strMatch = "a new action and station";
3             MatchCollection Matches = Regex.Matches(strMatch, pattern);    
View Code

原文地址:https://www.cnblogs.com/houxt/p/11463597.html