Find-replace two periods plus enter key with enter key

How to find-replace “…{enter}”, with “.{enter}”.

Have tried find with “…\n”, and does not work. Have tried extension find-replace, still without a remedy. This is very easy in MS Word. Am looking for the process in Writer.

Thanks!

I would find the last two stops in the paragraph and replace them with a single stop.

In the Find Box enter \.\.$ in the Replace box enter ., make sure the box Regular Expressions is ticked. If you have made a selection to which you want to limit the find and replace then also tick the box Current selection only. Click Replace All

The . has a special function meaning any character in Regular Expressions Find, by placing the \ in front of it, it makes the Find look for the actual stop character.

The $ only finds the search term if it is at the end of a paragraph. Cheers, Al

PS make sure you save before running find and replace as undo doesn’t necessarily return things to what they were. File reload will take you back to last save situation