日期:2014-05-18  浏览次数:21011 次

如何从M%%252hlackerstra%%223e中读出252和232,c#,多谢!在线等!
如题!

------解决方案--------------------
C# code
            string source = "M%%252hlackerstra%%223e";
            Regex reg = new Regex(@"\d+");
            foreach (Match m in reg.Matches(source))
                Console.WriteLine(m.Value);