【问题标题】:notepad++ regex remove tags and content [duplicate]notepad++ 正则表达式删除标签和内容[重复]
【发布时间】:2015-10-05 19:28:05
【问题描述】:

<description><![CDATA[<span style="font-weight: bold;">..text content...</span></description>

我想删除所有的描述数据

输出:<description></description>

如何删除

【问题讨论】:

  • 输入:..text content... 输出:

标签: regex notepad++


【解决方案1】:

进行查找和替换:

查找内容:(<description>)(.+?)(<\/description>)

替换为:\1\3

搜索方式:正则表达式

【讨论】:

    猜你喜欢
    • 2012-12-16
    • 2013-01-07
    • 2014-12-20
    • 1970-01-01
    • 2011-02-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多