【发布时间】:2014-02-20 17:38:09
【问题描述】:
我有一个包含 html 代码的日志文件,我需要删除该文件中每个可能匹配项的 html 标记之间的所有内容。使用过滤器怎么可能?
我的文件示例:
some text here
<html>
code
</html>
some text there
<html>
code
</html>
some other text
输出应该是:
some text here
some text there
some other text
【问题讨论】: