Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Posts
    1,418
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have a document that is >100 pages in length. I downloaded it from another application. In so doing, there are many instances of multiple spaces between words or at the beginning/end of a sentence. What I would like to end up with is one space between each word, and two spaces at the beginning of each sentence. Any ideas?

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts
    You could try using Replace.

    Find What: ([!.])<space><space>
    Replace with: \1<space>
    Use wildcards checked
    Note that each <space> above should be a real space, not what I have typed here.

    This will replace every double space with a single space, except if the preceeding character is a . which should get close to what you want.
    You can do the replace multiple times to deal with longer strings of spaces.

  3. #3
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,055
    Thanks
    2
    Thanked 417 Times in 346 Posts
    Quote Originally Posted by jlkirk View Post
    I have a document that is >100 pages in length. I downloaded it from another application. In so doing, there are many instances of multiple spaces between words or at the beginning/end of a sentence. What I would like to end up with is one space between each word, and two spaces at the beginning of each sentence. Any ideas?
    Hi jlkirk,

    Double-spacing between sentences is a legacy from the days of the typewriter, when fixed-width fonts were all one had. With modern word-processors using proportional fonts, double-spacing between sentences serves no useful purpose - especially once you get into fully-justified text.

    Stuart's Find/Replace operation will get you close to what you asked for, but you should be aware that it could leave double spaces after abbreviations ending with periods (eg T.S. Elliott)
    Cheers,

    Paul Edstein
    [MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •