标签:out each match for ring class bsp div 正则表达式
string str="aaaaaaaaa(bbbb)cccc"; var patern = "(?<=\\()[^\\)]+"; if (Regex.Matches(item.OuterHtml, patern).Count > 0) { foreach (var regex in Regex.Matches(item.OuterHtml, patern)) { str += regex; } } console.writerLine(str);
标签:out each match for ring class bsp div 正则表达式
原文地址:https://www.cnblogs.com/mi21/p/10361886.html