Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have plain text files that have an unknown number of blank lines that I
need to eliminate. Here's a small sample/section of one of them (the ... just means that there's more text before and after the section): .... PAMTRAK FORT WASHI MTKT# 5544043092119 10/06 ^ D10/06/2005 N70020051006 T198.00 .... As you can see there's a blank line between the one that has a single ^ on it and the one beginning with the letter "D". I need to keep all lines that have text, including those that have the "^" on them and delete the only blank ones. I can do this manually, but not for files that have a bazillion lines in them. I opened the file in Word 2000, clicked the Show/Hide button and it seems every single line ends with a paragraph character (whatever that reverse P thing is called). Anyway, I tried to Find and Replace without luck because I have no idea how to search for the blank line. As you can see I'm stumped. Anyhow, I'm willing to use ANY application including DOS ones to get this to happen so any non-Word suggestions are also welcome. Thanks to all who respond in advance! |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Where did "print blank lines" option go in Office 2003??? | Mailmerge | |||
Templates | Page Layout | |||
How do I convert a "dragged and dropped" text file from an object. | Microsoft Word Help | |||
How to delete a blank text box from Word document? | Microsoft Word Help | |||
Import of text file | Microsoft Word Help |