How do i remove soft return rom a document

Hi I have a long document with many many soft returns which i’d like to remove.
How do I do it in an automatic way rather than going through each one manually.
thanks

[edit: removed redundant tag]

Hallo

→Edit→Search and replace
→ search \n
→ replace with nothing
→→more Options: [x]regular Expression
→→replace all

Just see help List of Regular Expressions - line with \n

So, find \n and replace it with \n (Regular Expressions must be ON)

@JohnSUN
I’m reading remove soft_returns nothing about replace them with Paragrph-breaks ??

Yes, you’re right! I was careless when wrote this message. It should have been written “replace it with \n or with a space, or an empty string, or even to something”. Your answer is definitely better. Vote for your answer