110,530
社区成员
发帖
与我相关
我的任务
分享
string str = "<Hello><,><World>";
Regex _reg = new Regex(@"(?<=<)[^>]+?(?=>)");
Match m=_reg.Match(str);
string s = string.Join("",_reg.Matches(str).Cast<Match>().Select(a=>a.Value).ToArray());//
//Hello,World