Page 1 of 1

delete empty lines

Posted: Mon Sep 18, 2006 4:31 am
by miksas

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


Posted: Mon Sep 18, 2006 7:07 am
by Abacre
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.