- Type in the search field:
^(.*)(\r?\n\1)+$
- type in the "replace with" field:
$1
- Click "Replace All".
Created
October 30, 2017 03:48
-
-
Save AnasAboreeda/b9eba91cff214427d424fe6747a77987 to your computer and use it in GitHub Desktop.
How to remove duplicate lines in Visual Studio Code?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is useful, but only finds repeated lines in sequence.
Rows that repeat but are not in sequence are not identified.