View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
TedMi TedMi is offline
external usenet poster
 
Posts: 155
Default Another Find-and-Replace question. Help appreciated

^w will match any number of consecutive spaces and/or tabs.
So replace .^w with . space space; repeat for !, ?
--
TedMi

"Bert Coules" wrote:

I have a document in Courier New in which some sentences are separated by
two spaces after the full stop and some by one.

I want to reformat it so that *all* full stops are followed by two spaces,
but I can't work out how to do it. I can't simply search for "full stop +
space" and replace with "full stop + two spaces" because the sentences that
are already separated by two spaces will end up with three.

Is there a wild character which represents "a character but not a space"?

The only other way I've thought of is to replace both "full stop + space"
and "full stop + two spaces" with just "full stop", and then replace "full
stop" with "full stop + two spaces". This strikes me as clumsy and
inelegant, but I suppose it should work. But surely there's a better way?

Many thanks.

Bert