View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default Find and Replace - Period and space at end of sentence

Replace
(. )([A-Z])
or more likely
([.!?:] )([A-Z])
with
\1 \2
(there's a space between \1 and \2!)


See http://www.gmayor.com/replace_using_wildcards.htm

Personally I think this a fool's errand. Double spacing of this type is a
throwback to the days of the manual typewriter.
If you persist, you must also think about adding spacing after other forms
of punctuation. If you want to format your document properly with double
spaces everywhere they are required for consistency, there may be no way to
do it automatically.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Rich58 wrote:
Have a very large document. Sentences end with a period and a space.
Want to change this to a period and space space. I have been able to
FIND the sequence with ".space[A-Z]" but have not been able to
insert the extra period. Note that I only want to insert the extra
space when and if the following character after the space is a
capital Alpha. Some entries in the document are in the form of
".space#" For example, See spot run.spaceHow now brown cow. TO See
spot run.spacespaceHow now brown cow.

Thanks,
Rich58