How to remove excess text?

Permabanned
Joined
23 Jun 2009
Posts
4,742
Odd request, but I've got a document which has every line repeated underneath it.

eg:

xxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx
yyyyyyyyyyyyyyy
yyyyyyyyyyyyyyy
zzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzz


Is there anyway to remove the repeated stuff without doing it manually as there is around 30 pages to get through :/

Thanks
 
Word or text editor use find/replace, enter pattern for find, leave replace as space and replace all, done.
 
Write a program in Java (or another programming language of choice) to parse the file character by character removing them? :D
 
Textpad marco to delete every second line? (If you have Textpad) Word macro to delete every second line?
 
Get a macro keyboard, record macro of holding shift, pressing down and then pressing delete.

Then run it on repeat :p
 
you can do some excel formula using an IF eg if the line below = the current line that insert DELETETHIS otherwise insert the line value.

then do a find and replace on the DELETETHIS once its back in the word doc
 
you can do some excel formula using an IF eg if the line below = the current line that insert DELETETHIS otherwise insert the line value.

then do a find and replace on the DELETETHIS once its back in the word doc

just copying to a new location and removing duplicates would be enough.
 
a macro in word'll have it done in a jiffy.

just record "down, home, shift-end, delete" and then run the macro until it's finished.
 
a macro in word'll have it done in a jiffy.

just record "down, home, shift-end, delete" and then run the macro until it's finished.

but page breaks, paragraphs and other things might mean that you delete the wrong stuff ;)
 
Back
Top Bottom