View Single Post
  #4   Report Post  
Kathy
 
Posts: n/a
Default finding missing periods in long documents and in included tables, then inserting

A manual proofread would be the best solution.

It's surprising how many other inconsistencies you'll find when you do that.

Kathy

"Wendy via OfficeKB.com" u14628@uwe wrote in message
news:55bc018645587@uwe...
Herb - thanks for your response. I tried your suggestion and it's a nice
solution for many situations, but these documents are instructions which
include a lot of references to buttons. menus, fields and screens, all of
which are capitalized, and many of which are multi-word. Here's an

example:

"Click the Display button. The Display Options dialog box displays "

Note the missing period at the end of the second sentence.

Any other suggestions?

Thanks,

Wendy

Herb Tyson [MVP] wrote:
For the first question... An additional way to try to find sentences

without
periods would be to look for the following pattern:

[lowercase letter][space(s)][uppercase letter]

...on the theory that capitals that follow lowercases stand a good chance

of
being the first word in a sentence (although, they could as easily be

proper
names).

To do this, in the Find and Replace dialog:

Find what[a-z])( @)([A-Z])

Replace with:\1.\2\3

Make sure Use Wildcards is checked.

The Replace with uses \1 - \3 tokens for the three parenthetical

expressions
in the Find What: field. It then inserts a period at the end of the

orphaned
sentence, then puts in the space(s) and the letter that begins the

following
sentence.

This will find a number of non-sentence breaks. There's also a chance

that
if a sentence should end with a question mark, this particular replace

can
only do one punctuation mark at a time... a period in this instance.

I am reformatting a large number of long documents and have completed

much
of

[quoted text clipped - 22 lines]

Wendy



--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...gdocs/200510/1