Viewing 3 posts - 1 through 3 (of 3 total) Author Posts October 18, 2006 at 9:33 am #3910 userParticipant 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! October 18, 2006 at 8:04 pm #3915 Yutaka EmuraKeymaster In the Replace dialog box, Find: nnn Replace with: nn Check Use Escape Sequence This will do what you want. June 27, 2008 at 5:45 pm #5951 maxphilMember 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 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘Regular Expressions’ is closed to new topics and replies.