用例


1 const string pattern = @"ion\b"; 2 const string strMatch = "a new action and station"; 3 MatchCollection Matches = Regex.Matches(strMatch, pattern);
用例
1 const string pattern = @"ion\b"; 2 const string strMatch = "a new action and station"; 3 MatchCollection Matches = Regex.Matches(strMatch, pattern);
转载于:https://www.cnblogs.com/houxt/p/11463597.html