chrisqqgx4
Critical Thinker
- Joined
- Jul 30, 2003
- Messages
- 291
I have a bunch of text ebooks (mostly from Gutenberg) that have hard-coded carriage-returns after each line.
I want to remove them but I'd be forever doing it manually. I tried in Word (replacing all paragraph marks with space and then replacing double spaces with paragraph marks) but that didn't work. There are a lot of double spaces already in the text and they get changed also.
What I want is a "Replace all single paragraph marks with a space" type function. I obviously want to keep the paragraph breaks where they are. Anybody help? (doesn't have to be in Word, use anything a standard Windows PC has).
Here's an extract:
On November 8, when both parties were united at Snow Hill, they
were unexpectedly joined by Captain Irizar, of the Argentine gunboat
Uruguay, and one of his officers. Some anxiety had been felt owing to
the absence of news of the Antarctic, and the Argentine Government
had sent the Uruguay to the South to search for the expedition. But
what in the world had become of Captain Larsen and the Antarctic? This
was the question the others asked themselves.
The same night -- it sounds almost incredible -- there was a knock
at the door of the hut, and in walked Captain Larsen with five of his
men. They brought the sad intelligence that the good ship Antarctic
was no more. The crew had saved themselves on the nearest island,
while the vessel sank, severely damaged by ice.
They, too, had had to build themselves a stone hut and get through the
winter as best they could. They certainly did not have an easy time,
and I can imagine that the responsibility weighed heavily on him who
had to bear it. One man died; the others came through it well.
I want to remove them but I'd be forever doing it manually. I tried in Word (replacing all paragraph marks with space and then replacing double spaces with paragraph marks) but that didn't work. There are a lot of double spaces already in the text and they get changed also.
What I want is a "Replace all single paragraph marks with a space" type function. I obviously want to keep the paragraph breaks where they are. Anybody help? (doesn't have to be in Word, use anything a standard Windows PC has).
Here's an extract:
On November 8, when both parties were united at Snow Hill, they
were unexpectedly joined by Captain Irizar, of the Argentine gunboat
Uruguay, and one of his officers. Some anxiety had been felt owing to
the absence of news of the Antarctic, and the Argentine Government
had sent the Uruguay to the South to search for the expedition. But
what in the world had become of Captain Larsen and the Antarctic? This
was the question the others asked themselves.
The same night -- it sounds almost incredible -- there was a knock
at the door of the hut, and in walked Captain Larsen with five of his
men. They brought the sad intelligence that the good ship Antarctic
was no more. The crew had saved themselves on the nearest island,
while the vessel sank, severely damaged by ice.
They, too, had had to build themselves a stone hut and get through the
winter as best they could. They certainly did not have an easy time,
and I can imagine that the responsibility weighed heavily on him who
had to bear it. One man died; the others came through it well.