110,536
社区成员
发帖
与我相关
我的任务
分享
以外的所有标签?
foreach (System.Text.RegularExpressions.Match vMatch in
System.Text.RegularExpressions.Regex.Matches(
@"<p></p><img src=""1.jpg""><div>test</div>",
@"<(?!/?p)(?!img)[^>]*>"))
{
Console.WriteLine(vMatch.Value);
}
<div>
</div>