View Single Post
Old 11-19-2010, 03:29 PM   #20
MikeFromHC
Zealot
MikeFromHC has learned how to read e-booksMikeFromHC has learned how to read e-booksMikeFromHC has learned how to read e-booksMikeFromHC has learned how to read e-booksMikeFromHC has learned how to read e-booksMikeFromHC has learned how to read e-booksMikeFromHC has learned how to read e-books
 
Posts: 143
Karma: 880
Join Date: Jun 2010
Device: Pandigital Novel
Quote:
Originally Posted by jackie_w View Post
Depending on your macro abilities, you certainly could macroise it as long as there's a way to recognise the 'right places', e.g. 2 or more consecutive end-of-paragraph markers.
More than two paragraph markers are a problem but here is an old trick using just Word or any text editor withour regular expressions.
1. USE A COPY.
2. USE A COPY.
3. Search and replace all "^P^P" with an unused character. The pipe symbol is almost always safe. "|"
4. Search and replace all single "^P" with a space.
5. Search and replace all "|" with ^P or what ever you want to see.

This works well in any case where a single delimiter is used for one thing and two of them for something else as in converting multi line lists to a comma delimited flat file.

One and two above are the most important because if you do #4 before #3 you have a "bit" of work ahead.
Signed: Been there, done that.
MikeFromHC is offline   Reply With Quote