Community
    • Login

    Replacing space with backspace on blank line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 7.3k 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.
    • aung myatA
      aung myat
      last edited by

      Hi all,
      I would like to know how to replace space with new line on the blank lines without affecting the line with the texts in notepad++.

      for example:
      line 1 has space in between 00B028707F and 0DB8.
      line 2 and 4 is empty but there is space character at the beginning of the line.
      I want to remove the space at the line 2 and line 4 and replace with backspace character.
      I need to do this on thousands over line.

      line1: 00B028707F 0DB8
      line2:
      line3: 0058B51806 08FA
      line4:
      line5: 00D3C5DD15 03BB

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @aung myat
        last edited by

        @aung-myat

        I’m thinking that you don’t really want to replace this space with a literal backspace character, but rather to simply delete it?

        If so, probably the simplest thing to do is trim spaces. See Edit menu, then Blank Operations and choose Trim Leading Space.

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