我使用的是一台相对较新的Windows7机器,在Notepad++中,TextFX HTMLTidy无法工作。它显示"Unable to find libTidy.dll in the system path or C:\program files (x86)\Notepad++\plugins\Config\tidy\libTidy.dll".“(无法在系统路径或C:\program files中找到libTidy.dll建议将文件移动到该位置,但我从哪里获取这些文件?啊,为什么我总是发现Notepad++插件如此令人沮丧!
我在Windows7 x64上使用Notepad+
假设有一个文本文件,大约有40k行
Color LaserJet 8500, Color Laserjet 8550, Color Laserjet 8500N, Color Laserjet 8500DN, Color Laserjet 8500GN, Color Laserjet 8550N, Color Laserjet 8550DN, Color Laserjet 8550GN, Color Laserjet 8550 MFP,
举个例子
any1可以帮助我用一个reg-ex,可以修剪所有数据后的数字,但之前的逗号?所以8500N就变成了8500
最终结果将是
Color Laser
有没有办法用Notepad++ replace工具替换部分匹配线,只需一次查询就能删除所有不匹配线?
例如:(引号中的字符串应替换为123)
输入:
There is line with "quoted" part
There is another line
预期结果:
There is line with "123" part