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);