View Single Post
Old 11-24-2010, 02:45 AM   #1
oldbwl
Zealot
oldbwl doesn't litteroldbwl doesn't litter
 
oldbwl's Avatar
 
Posts: 122
Karma: 164
Join Date: Aug 2010
Location: Old Ynysybwl
Device: Sony PRS-300
macro - Search and Replace

I have a workflow which is serving me well. I use Calibre to organise my books and I have developed a series of processes by which I automate my conversions - mainly from PDF ->RTF -> epub. I do scan some materials and ABBYY takes care of the OCR.

I have a number of search and replace functions for Word 2010 which I have recorded into macros and they serve me well. But there is one aspect I have yet to crack and hopefully someone here can offer a suggestion.

I cannot create a search for when a line does not end with a fullstop followed by ^p^p.

I can detect when lines commence with a lower case letter and rejoin them to the prev paras. But some line breaks are occuring within capitalised phrases. The defining feature is the lack of the Full Stop followed by the two Para marks. I want to test for that condition and replace with a single space. Any ideas how this can be acheived in word?
oldbwl is offline   Reply With Quote