小编Nge*_*Lay的帖子

NotePad ++替换问题

我有一个使用NotePad ++进行大量文本编辑的文件.

例如

<span class="italic">some text</span><span class="bold">another text or some text</span>

我想用NotePad ++的正则表达式取代替换

<span class"italic>some text</span><i>some text</i><span class="bold">another text or some text</span><b>another text or some text</b>

我能够匹配跨度文本然而如何用NotePad ++替换它们

查找<span class="italic">text12312</span>并替换它<i>[a-zA-Z]*</i>实际上将"[a-zA-Z]*"文本放入替换字符串而不是"text12312".

regex notepad++

13
推荐指数
1
解决办法
1万
查看次数

标签 统计

notepad++ ×1

regex ×1