Remove and Delete Empty Line...

Tool for Search and Replace across multiple files.
tempomen
Posts: 1
Joined: Mon Mar 25, 2013 1:50 pm

Remove and Delete Empty Line...

Post by tempomen »

Hi all,

How do i remove a line - and remove the space that it was in.

Right now if i do the follow:

Code: Select all

1. Hello
2. John
3. Paul
4. Soup
and use textcrawler to find and delete "3. Paul" i would get the following:

Code: Select all

1. Hello
2. John

4. Soup
When i really want it to shif up and remove the line was... Like...

Code: Select all

1. Hello
2. John
4. Soup

Thanks for the help!
User avatar
DigitalVolcano
Site Admin
Posts: 1863
Joined: Thu Jun 09, 2011 10:04 am

Re: Remove and Delete Empty Line...

Post by DigitalVolcano »

If your text file has standard windows line endings, you can try this (in the Regular Expressions tab)

Find: 3. Paul\r\n
Replace with nothing.
Post Reply