日期:2014-05-17 浏览次数:21051 次
string s="stien2234sdfw3,567s,6977w";
string s = "stien2234sdfw3,567s,6977w"; MatchCollection ms=Regex.Matches(s, @"\d+"); foreach (Match m in ms) Console.WriteLine(m.Value);