#region 取出被正则表达式匹配的值
//string str = "100,101";
//MatchCollection matches = Regex.Matches(str, @"(\d+)");
//string abc = "";
//foreach (Group match in matches)
//{
// abc += match + ",";
//}
//Response.Write(abc);
#endregion
#region 取出被正则表达式匹配的值
//string str = "100,101";
//MatchCollection matches = Regex.Matches(str, @"(\d+)");
//string abc = "";
//foreach (Group match in matches)
//{
// abc += match + ",";
//}
//Response.Write(abc);
#endregion
转载于:https://www.cnblogs.com/CommonDream/archive/2012/09/27/2705008.html