delete empty lines

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

delete empty lines

Post by miksas »

hello

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

thanks

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

Post 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:
\r\n

That's all I verified it works perfectly.
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

Post Reply