Replace space with line break in txt???

Solved
ABCLOVE Posted messages 239 Status Membre -  
 Namzat -
Hello,

I have a text in a text document (notepad) and I want each word of this text to start on a new line, that is to say I actually want to replace the spaces between each word with a line break???

Can someone tell me what I need to enter in the EDIT, REPLACE field???

Best regards

4 answers

SmallFitz Posted messages 358 Registration date   Status Member Last intervention   189
 
Hi!

In Notepad++, it's quite simple to replace something with a line break:
  • 1) Press Ctrl+F (Opens a search window)
  • 2) Click on the "Replace" tab
  • 3) Enter in the first field "Find what:" what you want to replace in the text
  • 4) Click at the bottom, in the "Search Mode" box on "Extended mode (\n, \t, \0, \x...)"
  • 5) Enter in the second field "Replace with: " this \n which is the symbol for a line break.
  • 6) Click on "Replace All"


There you go.
151
iori172
 
Thank you very much for the info :)
3
SGo35
 
In Notepad++ v4.3, at the 4th step, the "Extended Mode" does not exist. You need to check "Regular Expression" and it works.
2
Anonymous user
 
@SmallFitz: perfect, thank you!!!
@SGo35: you should always do the updates, they don't exist for nothing.
0
Papaast32
 
@SmallFitz: Thank you :)
0
Namzat
 
Thanks for the info!
0