jesusjsc

Sublime删除重复行
# Sublime删除重复行 --- ## 排序 按F9或者选择菜单:`Edit > Sort ...
扫描右侧二维码阅读全文
14
2019/05

Sublime删除重复行

Sublime删除重复行


排序

按F9或者选择菜单:Edit > Sort Lines,对每行文本进行排序

替换

Ctrl + H,调出替换面板

查找字符串:

^(.+)$[\r\n](^\1$[\r\n]{0, 1})+

替换字符串:

\1\n

点击Replace

Last modification:June 23rd, 2019 at 11:16 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment