How to replace "- $" with nothing?

Ctrl+H, Search for…

  • $
    Replace with “”
    Options > Regular expressions = YES
    It does not delete $. Lines are still separated.
    How can I do it? Is it possible without any extensions?
    Thanks

Button Find All - Esc - Del

Since LO won’t take out the $, there are two other ways to do this.

You can do it with a series of find/replaces:

with Regex enabled:
   replace all "$" with "qqq"
   replace all "- qqq" with " "
   replace all "qqq" with "\n"

If it’s a large document you may have to give LO time to process fully. Save the doc before implementing.

The other way would be via a macro looping through the document and doing deletions.

Cool. It works. Thanks.
winword makes it more intuitively IMHO