Regex rx = new Regex(@"@(?:\w|\.)+",//@QQ.CC @zhangsan 你好,匹配出用户名
RegexOptions.Compiled | RegexOptions.IgnoreCase);
MatchCollection matchs = rx.Matches(msg);
RegexOptions.Compiled | RegexOptions.IgnoreCase);
MatchCollection matchs = rx.Matches(msg);
366

被折叠的 条评论
为什么被折叠?



