for example: string str = "abc我def爱sdf老婆123";
MatchCollection matchs = Regex.Matches(str, @"[\u4e00-\u9fa5]+");
foreach (Match m in matchs)
{
Console.WriteLine(m.Value);
}
MatchCollection matchs = Regex.Matches(str, @"[\u4e00-\u9fa5]+");
foreach (Match m in matchs)
{
Console.WriteLine(m.Value);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货