Jam*_*123 11 text-editor notepad++
我有多个电子邮件地址.我需要找到并删除所有(包括找到的).这在记事本++中是否可行?
例:epshetsky@test.com,
rek4@test.com,
rajesh1239@test.com,
mohanraj@test.com,
sam@test.com,
nithin@test.com,
midhunvintech@test.com,
karthickgm27@test.com,
rajesh1239@test.com,
mohanraj@test.com,
nithin@test.com,
我需要结果像
epshetsky@test.com,
rek4@test.com,
sam@test.com,
nithin@test.com,
midhunvintech@test.com,
karthickgm27@test.com,
在记事本++中怎么办?
Lar*_*her 26
如果可以更改您可以执行的行的顺序:
^(.*\r?\n)\1+工作原理:排序将重复项放在一起.查找匹配一行^(.*\r?\n)并捕获该行\1然后继续并尝试在第一个匹配后找到\1一次或多次(+).这样的重复块(如果存在)将被替换为空.
本\r?\n应与Windows和Unix lineendings很好地处理.
您需要 textFX 插件。然后,只需按照以下说明操作:
\n\nPaste the text into Notepad++ (CTRL+V). ...\nMark all the text (CTRL+A). ...\nClick TextFX \xe2\x86\x92 Click TextFX Tools \xe2\x86\x92 Click Sort lines case insensitive (at column)\nDuplicates and blank lines have been removed and the data has been sorted alphabetically.\nRun Code Online (Sandbox Code Playgroud)\n\n就我个人而言,我会使用 sort -i -u source >dest 而不是 notepad++
\n| 归档时间: |
|
| 查看次数: |
63937 次 |
| 最近记录: |