The following steps show how to convert a character (for example a tab or comma) with a new line using Notepad++.
For this example we’ll be converting
The,Quick,Brown,Fox,Jumped,Over,The,Lazy,Dog
to
The Quick Brown Fox Jumped Over The Lazy Dog
- Open the file using Notepad++ (or paste the text into a new file)
- Open the Search -> Replace menu
- In the ‘Find what’ box enter the character to convert to a new line
- In the ‘Replace with‘ box enter \n
- Under ‘Search Mode’ select ‘Extended’
- Click ‘Replace All‘
- All the characters will now be converted to new lines.
TIP: use \t for a tab character
thanks save my bundle of time
And what if the string you are searching for is “\n”
And you need to replace it with a real new line.
Thanks for sharing!.
e.
I am still looking for an answer to this here.
thanks alot
Truly worked. amazing
Problem (on windows) that it does not add 2 chars CRLF, so copy-paste to another app that requires CRLF as two bytes is making a single-line-sausage.
Really Helpful … saved lot of time of mine.. thanks!
Perfect !!
Thanks for the right Solution. (y)
Thanks thanks a lot saved my whole day in just 5 seconds
Thanks! Helped a ton when dealing with minified files!
What if there is no “Search Mode” option?
Search mode option is available in NOTEPAD++ software. It wont be available in other software, you need to get NOTEPAD++ to do this.