Skip to content

Instantly share code, notes, and snippets.

@1901
Created July 22, 2019 08:36
Show Gist options
  • Save 1901/32bf26d195f0ca13ddf04281c97ce926 to your computer and use it in GitHub Desktop.
Save 1901/32bf26d195f0ca13ddf04281c97ce926 to your computer and use it in GitHub Desktop.
[Remove duplicated lines] #sublime
1. Sort Lines.
2. Find And Replace. (确保正则模式打开)
^(.+)$[\r\n](^\1$[\r\n]{0, 1})+
\1\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment