Categories
How to remove both duplicate lines in a file?
There is a file with text, for example:
1 1 2
Answer the question
In order to leave comments, you need to log in
Search pattern (?-s)^(.+)(\R\1)+$ Leave the replacement string empty.
(?-s)^(.+)(\R\1)+$
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question