如何在HTML输出中捕获整个块?块内部是一个未打开的“noscript”标签。正则表达式捕获多行的整个div块
我在nginx上与subs_filter一起使用它,意味着任何基于DOM的解决方案都不能在这里工作。
...
<div id="me_104" >
<img src="http://www.google.com" alt="" style="position: absolute; left:0; top: 0; width: 0px; height: 0px;" />
<iframe id="zz_3423_543534" name="zz_3423_543534_54635677" src="http://google.com" width="400" height="80" scrolling="no" frameborder="0" allowtransparency="true" marginwidth="0" marginheight="0"></iframe></noscript>
</div>
...
什么是该块可能改变的部分? – Stephan
@Alex img src可以更改,iframe id,name,src可以更改。 html结构停留在is。 – Nenad