Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4672
    sbubendorf
    Member

    Is there any way to remove blank lines in EmEditor Professional?

    #4674
    me75
    Member

    √Regular Expressions Replace:
    Find:nn
    Replace:n

    #4675
    sbubendorf
    Member

    Thank you. I discovered that my problem has another aspect: I have lines with only spaces or only tabs, or with both, but no alpha-numerical information. Do you know how I may delete those lines along with the truly blank lines?

    #4679
    me75
    Member

    √Regular Expressions Replace:
    Find:[ts]*n[ts]*n
    Replace:n

    Replace several times :-D

    #4699
    sbubendorf
    Member

    Thank you!!

    #8555
    user
    Participant

    Find:[ts]*n[ts]*n
    Replace:n

    can anyone make a macro (JS file) with this to click a button and perform the action till there are no blank lines?

    thanks

    #8557
    nisbor
    Participant

    make the .jsee file and put it inside:

    var check = document.selection.Find(“[ts]*n[ts]*n”,eeFindNext | eeFindAround | eeFindReplaceRegExp); while (check) {check = document.selection.Replace(“[ts]*n[ts]*n”,”n”,eeFindNext | eeReplaceAll | eeFindReplaceRegExp);}

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