C# 正则表达式

 用例

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

 

posted @ 2019-09-05 11:05  H滴水  阅读(281)  评论(0编辑  收藏  举报