How to replace all SPACES with Carriage-Returns?
Getting frustrated…
[Edit - Speling]
How to replace all SPACES with Carriage-Returns?
Getting frustrated…
[Edit - Speling]
Hi shadowsknight
The following can be done with the default search+replace (Ctrl+H). However, beware that you can only enter a new paragraph this way (the equivalent of the keyboard Enter) and not a newline (the equivalent of the keyboard Shift+Enter):-
- (
menu):Edit→Find & Replace...(Ctrl+H)
space in the Search For box\n in the Replace With boxRegular expressions checkbox (under ▼ Other Options) is ticked)If this helps then please tick the answer (
)
…and/or show you like it with an uptick (∧)
Kemp´s answer is for a different but related question. You will need these additional steps:
To replace with carriage returns (ie U+000a) you have to create a carriage return in your text (Shift+Return) select and copy that character (e.g. position yourself on the line that contains it then type End, Shift+Left-Arrow, Ctrl+C) then copy this character into the Replace With field.
Note: it won´t appear on the field, but LO will use it, as it is a non-printing character.
This is the only solution that worked for me–actually copying the return.
Try out AltSearch.oxt - it is able to replace space with paragraph (Return) or newline (Shift+Return) .