- AuthorPosts
- September 25, 2007 at 2:13 pm #4672sbubendorfMember
Is there any way to remove blank lines in EmEditor Professional?
September 27, 2007 at 1:28 am #4674me75Member√Regular Expressions Replace:
Find:nn
Replace:nSeptember 27, 2007 at 3:49 pm #4675sbubendorfMemberThank 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?
September 30, 2007 at 12:46 pm #4679me75Member√Regular Expressions Replace:
Find:[ts]*n[ts]*n
Replace:nReplace several times :-D
October 2, 2007 at 2:34 pm #4699sbubendorfMemberThank you!!
June 2, 2010 at 12:53 am #8555userParticipantFind:[ts]*n[ts]*n
Replace:ncan anyone make a macro (JS file) with this to click a button and perform the action till there are no blank lines?
thanks
June 2, 2010 at 2:58 pm #8557nisborParticipantmake 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);}
- AuthorPosts
- You must be logged in to reply to this topic.