When editing long documents, such as a book manuscript, I need to search
globally for double spaces between words, and replace them automatically with
single spaces.
How do I do that?
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
Find what:<space><space>
Replace with:<space>
Replace all.
Note: <space> indicates that you should press the Space bar.
This presumes that two consecutive spaces are NEVER wanted. For documents I
edit, this is always the case. I routinely do this find/replace when I open
documents I'm asked to edit. (If a client wants two spaces after sentence
terminators, I talk them out of it. When using proportional spacing, a
single space is the industry standard.)
It is possible to design a search to remove spaces only between words,
though.
With Use wildcards enabled:
Find what:([A-Z,a-z])( )([A-Z,a-z])
Replace with:\1 \3
Note that there are two spaces in the ( ) in Find what, and one space
between \1 and \3 in the Replace with.
--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com
"www.thewordsmith.biz" <www.thewor...@discussions.microsoft.com>
wrote in message news:5A237C58-E4B9-4848...@microsoft.com...
On Sep 29, 10:07 am, "Herb Tyson [MVP]" <h...@1x2y3z.xnw> wrote:
> Ctrl+H.
>
> Find what:<space><space>
>
> Replace with:<space>
>
> Replace all.
>
> Note: <space> indicates that you should press the Space bar.
>
> This presumes that two consecutive spaces are NEVER wanted. For documents I
> edit, this is always the case. I routinely do this find/replace when I open
> documents I'm asked to edit. (If a client wants two spaces after sentence
> terminators, I talk them out of it. When using proportional spacing, a
> single space is the industry standard.)
>
> It is possible to design a search to remove spaces only between words,
> though.
>
> With Use wildcards enabled:
>
> Find what:([A-Z,a-z])( )([A-Z,a-z])
>
> Replace with:\1 \3
>
> Note that there are two spaces in the ( ) in Find what, and one space
> between \1 and \3 in the Replace with.
>
> --
> Herb Tyson MS MVP
> Author of the Word 2007 Bible
> Blog:http://word2007bible.herbtyson.com
> Web:http://www.herbtyson.com
>
> "www.thewordsmith.biz" <www.thewordsmith....@discussions.microsoft.com>
> wrote in messagenews:5A237C58-E4B9-4848...@microsoft.com...
>
>
>
> > Word 2003.
>
> > When editing long documents, such as a book manuscript, I need to search
> > globally for double spaces between words, and replace them automatically
> > with
> > single spaces.
>
> > How do I do that?-
"Peter T. Daniels" wrote:
> > wrote in messagenews:5A237C58-E4B9-4848...@microsoft.com....
> > > > How do I do that?--
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
"DeanH" <De...@discussions.microsoft.com> wrote in message
news:FEAB240A-B7C0-4849...@microsoft.com...