新手求组,如何从一堆字符串中截取出数字例如:
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);