我需要组合多个书签文件并缩小大小,但我不知道如何使用正则表达式。
我想:
<DD>
开头的每一行ICON_URI="..."
、ICON="..."
和LAST_CHARSET="..."
>
和</A>
之间的文本发布于 2015-06-05 08:44:25
在Notepad++中进行测试,对于其他工具,它可能无法工作。另外,对于一些奇怪的情况,它也不能在Notepad++中工作。
1. ^<DD>.*?$ - replace with empty string
2.ICON_URI="[^"]*" - replace with empty string
3.(<a[^>]+>).+?</a> - replace with \1 </a>
4. This is hard to do with regex, you can use grouping and repetition, but I'm not advanced in that
5. Use excel or other similar tool and order there, much easier
https://stackoverflow.com/questions/30671053
复制相似问题