例如:string str="AAA123BB";现在要取出123string str = "AAA123BB";string result = string.Empty;Match m = Regex.Match(str, @"\d+");if (m.Success){ result = m.Value;} 转载于:https://www.cnblogs.com/nickyflower/archive/2007/08/06/844786.html