Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3910
    user
    Participant

    hello

    when there are 2 or more continuous empty lines, I want to delete them and leave only one each time

    ofcourse when there is only one empty line, I want to leave it as it is

    something like: search 2-continuous-empty-lines and replace with 1-empty-line

    how can I do it?

    thanks!

    #3915
    Yutaka Emura
    Keymaster

    In the Replace dialog box,

    Find: nnn
    Replace with: nn
    Check Use Escape Sequence

    This will do what you want.

    #5951
    maxphil
    Member

    Nicely done. This saved me a lot of time. 8-)

    I was looking for a way to delete blank lines in a file, and this works like a charm. :-D

    I wonder how we could write a macro in javascript to do this in EmEditor.

    []’s

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.