日期:2014-05-17 浏览次数:20977 次
["rose"],["ztao","mike"]
Regex r = new Regex(@"^\[(.+)\],?", RegexOptions.IgnoreCase);
string s = @"[""rose""],[""ztao"",""mike""]"; string[] rs = Regex.Split(s, @"(?<=\]),(?=\[)"); foreach (string r in rs) Response.Write(r + "<br/>");