Find and change EOL's
-
How do i change an end of line (ENTER) into a string of spaces. I would like to change a long list of words in a smaller document.
Like:
String 01
String 02
String 03Into
String 01_________String 02_________String 03
The topic maker doesnt give the possibility to add a set of spaces so i use in this example _________.
Thank you,
Mondriaan -
@_ ,
use regular expression mode, and search for
\Ras the FIND WHAT and replace with the spaces you want. That will literally join every line. If you only want it over a certain region, then select the region first, and use “In Selection” checkbox in the Replace dialog.of course, to join all lines, you can also just do
Ctrl+Ato Select All, then Edit > Line Operations > Join Lines (though that will join with a single space, instead of multiple spaces). -
@PeterJones Very Thanks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login