4
2
I'm working on a text file in Writer which is basically a sorted list of words and phrases. It contains some duplicates I want to remove.
Normally I would use a regular expression in Search & Replace but I can't get that to work in Writer. I've tried things like this:
^(.*)$\1$
That would work for the same term twice on the same line but the usual ways to express line breaks don't work:
^(.*)$\n\1$
Is there a way to fix this regular expression or some other completely different way to remove duplicate lines in Writer?