如何用sublime文本选择多个块引号并删除里面不必要的标签?

时间:2014-01-09 23:05:24

标签: sublimetext2 notepad++

我有一个巨大的XML文件,其中包含多个块引用代码段,如下所示:

<blockquote>lorem Lorem Ipsum<i> is simply dummy text</i> of the printing and typesetting industry. "Lorem Ipsum has been the industry's standard dummy text" ever since the <b>1500s</b>, when an unknown printer <i>took a galley</i> of type and scrambled it to make a type specimen booki>

我需要选择blockquote标签内的所有blockquote和内容,以便删除和清除不必要的标签,如:

<i>, <em>, </em>, </p>, </i>, <b>, </b>, <strong>, </strong> and " inside the text.

结束结果:

<blockquote>lorem Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book</blockquote>

0 个答案:

没有答案