EmEditor (text editor) Forum Index Questions and Answers about EmEditor Core
Remove blank lines? | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| abre | Posted on: 6/2/2010 6:58 am |
Just popping in ![]() ![]() Joined: 6/2/2010 From: Posts: 5 |
Re: Remove blank lines? make the .jsee file and put it inside:
var check = document.selection.Find("[\\t\\s]*\\n[\\t\\s]*\\n",eeFindNext | eeFindAround | eeFindReplaceRegExp); while (check) {check = document.selection.Replace("[\\t\\s]*\\n[\\t\\s]*\\n","\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);} |
| user | Posted on: 6/1/2010 4:53 pm |
Home away from home ![]() ![]() Joined: 9/29/2006 From: Posts: 212 |
Re: Remove blank lines? Find:[\t\s]*\n[\t\s]*\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 |
| sbubendorf | Posted on: 10/2/2007 6:34 am |
Just popping in ![]() ![]() Joined: 4/6/2007 From: Fargo, North Dakota, USA Posts: 10 |
Re: Remove blank lines? Thank you!!
|
| me75 | Posted on: 9/30/2007 4:46 am |
Quite a regular ![]() ![]() Joined: 1/16/2007 From: Posts: 41 |
Re: Remove blank lines? √Regular Expressions Replace:
Find:[\t\s]*\n[\t\s]*\n Replace:\n Replace several times |
| sbubendorf | Posted on: 9/27/2007 7:49 am |
Just popping in ![]() ![]() Joined: 4/6/2007 From: Fargo, North Dakota, USA Posts: 10 |
Re: Remove blank lines? 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?
|
| me75 | Posted on: 9/26/2007 5:28 pm |
Quite a regular ![]() ![]() Joined: 1/16/2007 From: Posts: 41 |
Re: Remove blank lines? √Regular Expressions Replace:
Find:\n\n Replace:\n |
| sbubendorf | Posted on: 9/25/2007 6:13 am |
Just popping in ![]() ![]() Joined: 4/6/2007 From: Fargo, North Dakota, USA Posts: 10 |
Remove blank lines? Is there any way to remove blank lines in EmEditor Professional?
|
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |




