• Login
Community
  • Login

Convert Spaces to Newlines

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 1.6k Views
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.
  • S
    Shaer Alvy Aumi
    last edited by Jun 15, 2023, 2:16 PM

    Is it possible to make this “Convert Spaces to Newlines”? Example in this link - https://www.browserling.com/tools/spaces-to-newlines

    Thanks

    1 Reply Last reply Reply Quote 0
    • W
      wonkawilly
      last edited by wonkawilly Jun 15, 2023, 2:27 PM Jun 15, 2023, 2:22 PM

      It is possible to perform a Search and Replace with these settings:
      Search : put in there a space
      In Replace : put \r\n (or \r or \n depending on what is your file end of line char)

      than you need to set the Search mode the second option (Extended…)

      Than execute the find and replace operation.

      Also, in the meanwhile, you can even record a macro and after you save it you can recall the whole operation as many times as you need in the future.

      S 1 Reply Last reply Jun 16, 2023, 12:37 AM Reply Quote 6
      • S
        Shaer Alvy Aumi @wonkawilly
        last edited by Jun 16, 2023, 12:37 AM

        @wonkawilly Thanks a Lot! :)

        1 Reply Last reply Reply Quote 1
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors