Quote:
Originally Posted by alansplace
if you've saved those regex[s] you should zip them up and share them in a post somewhere. 
|
They are really more Word 2003 wildcards but Basically This is my reference notes I hope you can make heads or tales out of them.
Code:
Do a S&R for Manual line breaks and replace with paragraph marks.
MS Word it uses ^13 for a return, with wildcard box checked in the Search Box
^13([a-z]) = This checks for broken sentences
([a-zA-Z])^13 = This checks for broken sentences
([a-z])^13([A-Z]) = This checks for broken sentences
Replace Box
\1 and \2 if there is more then one bracket, add appropriate spaces as needed.
[0-9]{1,}^13 = This checks for page numbers
[0-9]{1,} = Second check for page numbers and OCR error where numbers replace letters.
[A-Z]{3,} = Match Case checked, Replace 3, if needed for more word matches.
On Chapter Headers I use S&R if they are already in bold this makes it easier, then I do a search to find bold text using the formatting button. Word has a powerful search! You can search by formatting or wildcards, special word characters or just the regular way. I can then do a replace only on the formatting.
I also use the Styles panel to make batch changes. Alot of back titles I buy have inconsistency when it comes to formatting this feature comes in handy to fix that quick. Highlighting a chapter heading and then click Clear formatting and clicking the appropriate style will really help it to take on the correct formatting you want.
I also use Macros to make it alot faster!