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 » Mon Sep 18, 2006 4:31 am

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: 1198
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

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

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest