110,536
社区成员
发帖
与我相关
我的任务
分享
string s = @"01A1学校
02C1厕所
031Dbx公交站";
MatchCollection ms = Regex.Matches(s, @"([A-Za-z]+\d*)");
foreach (Match m in ms)
{
Console.WriteLine(m.Groups[1].Value);
}