Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Delete empty lines

    Help wanted · · · – – – · · ·
    4
    5
    25590
    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.
    • Ikhlas Chaabane
      Ikhlas Chaabane last edited by

      plz i need a help for deleted empty lines in notePad,
      how can I do it ?

      1 Reply Last reply Reply Quote 0
      • DaveyD
        DaveyD last edited by

        You can do this with regex pretty simply:
        Open find/replace dialog and type as follows:
        Search: ^$\r\n
        Replace: empty (i.e. leave blank!)
        Check regex at bottom of dialog. Replace all should remove all empty lines from the file.

        Another method could be as follows:
        Search: (\r\n){1,}
        Replace: \r\n

        Regards,
        David

        Ikhlas Chaabane 1 Reply Last reply Reply Quote 1
        • Ikhlas Chaabane
          Ikhlas Chaabane @DaveyD last edited by

          @DaveyD thank you, it is done successfully ;)

          1 Reply Last reply Reply Quote 0
          • Andrzej Kmicic
            Andrzej Kmicic last edited by

            meu Edit -> Line Operations -> Delete Empty Lines

            decoderman 1 Reply Last reply Reply Quote 1
            • decoderman
              decoderman @Andrzej Kmicic last edited by

              @Andrzej-Kmicic said:

              Edit -> Line Operations -> Delete Empty Lines

              That’s how I do it too, it’s the quickest way.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright © 2014 NodeBB Forums | Contributors