delete empty lines

General discussions about Advanced Find and Replace
Post Reply
Posts: 3
Joined: Fri Sep 15, 2006 8:34 pm

delete empty lines

Post by miksas » Mon Sep 18, 2006 4:31 am


how can I delete all empty/blank lines? (lines that dont have characters visible in them, even if they contain spaces)


Site Admin
Posts: 1220
Joined: Mon Jan 31, 2005 5:32 pm

Post by Abacre » Mon Sep 18, 2006 7:07 am

Go to main menu - Action - Options - Batch Replace
check "Modifier S"
check "Modifier G"
check "Modifier M"

Go to Batch replace tab, check on "Use regular expressions".
Put into the grid, search for:
\r\n[ \r\n\t]*\r\n

Replace with:

That's all I verified it works perfectly.
Kind regards,
Abacre Limited

Post Reply