Reply
 
Thread Tools Display Modes
  #1   Report Post  
GKW in GA
 
Posts: n/a
Default Removing extra spaces between words

Is there a way to remove extra spaces between words so there is only one
space between them
  #2   Report Post  
Herb Tyson [MVP]
 
Posts: n/a
Default

You can use Find/Replace. Assuming you never want two spaces to occur, you
can change " " to " " (the first is two spaces, the second is a single
space), and tell the Replace dialog to Replace All.

If there are times when you'd like two spaces, then you'd have to work out
the circumstances, and it's possible that a Wildcard Find/Replace could do
the job.

--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
"GKW in GA" wrote in message
...
Is there a way to remove extra spaces between words so there is only one
space between them



  #3   Report Post  
GKW in GA
 
Posts: n/a
Default

Wouldn't you have to do it multiple times until you didn't find 2 adjacent
spaces. Lets say you had 3 spaces between words (accidently, of course),
scanning and replacing 1 time would leave you with 2 spaces where there were
3 or 3 spaces were there were 4, etc. until you didn't find 2 adjacent spaces
anymore.

"Herb Tyson [MVP]" wrote:

You can use Find/Replace. Assuming you never want two spaces to occur, you
can change " " to " " (the first is two spaces, the second is a single
space), and tell the Replace dialog to Replace All.

If there are times when you'd like two spaces, then you'd have to work out
the circumstances, and it's possible that a Wildcard Find/Replace could do
the job.

--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
"GKW in GA" wrote in message
...
Is there a way to remove extra spaces between words so there is only one
space between them




  #4   Report Post  
Herb Tyson [MVP]
 
Posts: n/a
Default

If there are more than two spaces between words, it could be done in one
fell swoop using a wildcard specification. For example, with Use Wildcards
checked, assuming no more than 10 [accidental] spaces:

Find what: {2,10} i.e., space{2,10}, which means find 2 to 10 spaces

Replace with: space, which means replace the find what with a
single space

There's no reason to limit it to 10, but I would think it unlikely that
you'd have more than 10 spaces -- accidentally -- between words. As a
practical matter, it might never be more than 3 or 4.


--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
"GKW in GA" wrote in message
...
Wouldn't you have to do it multiple times until you didn't find 2 adjacent
spaces. Lets say you had 3 spaces between words (accidently, of course),
scanning and replacing 1 time would leave you with 2 spaces where there
were
3 or 3 spaces were there were 4, etc. until you didn't find 2 adjacent
spaces
anymore.

"Herb Tyson [MVP]" wrote:

You can use Find/Replace. Assuming you never want two spaces to occur,
you
can change " " to " " (the first is two spaces, the second is a single
space), and tell the Replace dialog to Replace All.

If there are times when you'd like two spaces, then you'd have to work
out
the circumstances, and it's possible that a Wildcard Find/Replace could
do
the job.

--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
"GKW in GA" wrote in message
...
Is there a way to remove extra spaces between words so there is only
one
space between them






  #5   Report Post  
Graham Mayor
 
Posts: n/a
Default

There's no real need to limit the spaces at all
( ){2,}
replace with
\1
will remove all additional spaces

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

--

Graham Mayor - Word MVP

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


Herb Tyson [MVP] wrote:
If there are more than two spaces between words, it could be done in
one fell swoop using a wildcard specification. For example, with Use
Wildcards checked, assuming no more than 10 [accidental] spaces:

Find what: {2,10} i.e., space{2,10}, which means find 2 to 10
spaces
Replace with: space, which means replace the find what with
a single space

There's no reason to limit it to 10, but I would think it unlikely
that you'd have more than 10 spaces -- accidentally -- between words.
As a practical matter, it might never be more than 3 or 4.


Wouldn't you have to do it multiple times until you didn't find 2
adjacent spaces. Lets say you had 3 spaces between words
(accidently, of course), scanning and replacing 1 time would leave
you with 2 spaces where there were
3 or 3 spaces were there were 4, etc. until you didn't find 2
adjacent spaces
anymore.

"Herb Tyson [MVP]" wrote:

You can use Find/Replace. Assuming you never want two spaces to
occur, you
can change " " to " " (the first is two spaces, the second is a
single space), and tell the Replace dialog to Replace All.

If there are times when you'd like two spaces, then you'd have to
work out
the circumstances, and it's possible that a Wildcard Find/Replace
could do
the job.

--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
"GKW in GA" wrote in message
...
Is there a way to remove extra spaces between words so there is
only one
space between them





  #6   Report Post  
Joe McGuire
 
Posts: n/a
Default

But what if you want two spaces between sentences and only 1 between the
words?

"Graham Mayor" wrote in message
...
There's no real need to limit the spaces at all
( ){2,}
replace with
\1
will remove all additional spaces

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

--

Graham Mayor - Word MVP

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


Herb Tyson [MVP] wrote:
If there are more than two spaces between words, it could be done in
one fell swoop using a wildcard specification. For example, with Use
Wildcards checked, assuming no more than 10 [accidental] spaces:

Find what: {2,10} i.e., space{2,10}, which means find 2 to 10
spaces
Replace with: space, which means replace the find what with
a single space

There's no reason to limit it to 10, but I would think it unlikely
that you'd have more than 10 spaces -- accidentally -- between words.
As a practical matter, it might never be more than 3 or 4.


Wouldn't you have to do it multiple times until you didn't find 2
adjacent spaces. Lets say you had 3 spaces between words
(accidently, of course), scanning and replacing 1 time would leave
you with 2 spaces where there were
3 or 3 spaces were there were 4, etc. until you didn't find 2
adjacent spaces
anymore.

"Herb Tyson [MVP]" wrote:

You can use Find/Replace. Assuming you never want two spaces to
occur, you
can change " " to " " (the first is two spaces, the second is a
single space), and tell the Replace dialog to Replace All.

If there are times when you'd like two spaces, then you'd have to
work out
the circumstances, and it's possible that a Wildcard Find/Replace
could do
the job.

--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
"GKW in GA" wrote in message
...
Is there a way to remove extra spaces between words so there is
only one
space between them





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spaces printing in my words heather122499 Microsoft Word Help 0 July 6th 05 08:04 PM
Removing Unwanted Spaces Chris New Users 3 March 12th 05 09:45 PM
How do I get grammar check to recognize extra spaces between words EJ's mom Microsoft Word Help 2 March 4th 05 11:44 PM
Spaces in the middle of words when printing LindaA Microsoft Word Help 1 February 26th 05 02:51 AM
How do I get Word to stop putting extra spaces after a period whe. Wants a Manual I Can Hold In My Hand! Microsoft Word Help 2 February 2nd 05 01:27 AM


All times are GMT +1. The time now is 12:46 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"