Community
    • Login

    Find and change EOL's

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 613 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • __ Offline
      _
      last edited by

      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 03

      Into

      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

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @_
        last edited by

        @_ ,

        use regular expression mode, and search for \R as 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+A to Select All, then Edit > Line Operations > Join Lines (though that will join with a single space, instead of multiple spaces).

        __ 1 Reply Last reply Reply Quote 4
        • __ Offline
          _ @PeterJones
          last edited by

          @PeterJones Very Thanks.

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors