Programmerzzz
Programmerzzz

Reputation: 1287

replace a character that indicates a new line in NotePad++

I have the text as follows in notepad++ editor. Sample Text in the~ File In the above text, when we encounter ~ symbol the information flows into next line. There are several occurrences of above in the text. How do I remove the special char ~ and make it as a single line in notepad++

so, my final output is Sample Text in theFile

I know it can be done by regex of notepad++, but not sure how to do it.

Upvotes: 0

Views: 1453

Answers (1)

Kake_Fisk
Kake_Fisk

Reputation: 1165

In the replace screen (CTRL+H), check the Regular expression box. Fill the input boxes as follows:

Find what:

~\R

Replace with:

(leave blank)

Upvotes: 2

Related Questions