日期:2014-05-18 浏览次数:20988 次
string[] result = Regex.Split(yourStr,@"(?<!^)(?=\D$?)");
------解决方案--------------------
private static string[] SplitString(string s) { return Regex.Replace(s, @"(?<=\d)(?=[a-z])", ",", RegexOptions.IgnoreCase) .Split(','); }
------解决方案--------------------
private static string[] SplitString(string s) { return Regex.Split(s, @"(?<=\d)(?=[a-z])", RegexOptions.IgnoreCase); }