Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Island Girl Island Girl is offline
external usenet poster
 
Posts: 192
Default Find and Replace

I have many pages of addresses, all of which should bear the same zipcode of
33032.

I'm trying to find all instances of 5 numbers preceded by a space that are
not 33032, since several people have worked on the document and there appear
to be quite a few errors in typing that zip code.

I'm sure the "but not" is in there somewhere but I just can't get it placed
so that I get results. That expression gets me every single time!

Thanks for this and all of your wonderful help over the years. I hope
everybody had a bounteous Thanksgiving. I sure am thankful for you.
  #2   Report Post  
Posted to microsoft.public.word.newusers
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Find and Replace

In the Replace dialog, click on the More button and the check the Use
wildcards box. Then in the Find what control, enter

[0-9]{5}

and in the Replace with control enter

33032

and then click on Replace all.

See the article "Finding and replacing characters using wildcards" at:

http://www.word.mvps.org/FAQs/Genera...gWildcards.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Island Girl" wrote in message
...
I have many pages of addresses, all of which should bear the same zipcode
of
33032.

I'm trying to find all instances of 5 numbers preceded by a space that are
not 33032, since several people have worked on the document and there
appear
to be quite a few errors in typing that zip code.

I'm sure the "but not" is in there somewhere but I just can't get it
placed
so that I get results. That expression gets me every single time!

Thanks for this and all of your wonderful help over the years. I hope
everybody had a bounteous Thanksgiving. I sure am thankful for you.



  #3   Report Post  
Posted to microsoft.public.word.newusers
Island Girl Island Girl is offline
external usenet poster
 
Posts: 192
Default Find and Replace

Doug, I feel so stupid! I really didn't need to worry about the typos after
all--just change the correct as well as the incorrect at one time!

Thanks so very much!

"Doug Robbins - Word MVP" wrote:

In the Replace dialog, click on the More button and the check the Use
wildcards box. Then in the Find what control, enter

[0-9]{5}

and in the Replace with control enter

33032

and then click on Replace all.

See the article "Finding and replacing characters using wildcards" at:

http://www.word.mvps.org/FAQs/Genera...gWildcards.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Island Girl" wrote in message
...
I have many pages of addresses, all of which should bear the same zipcode
of
33032.

I'm trying to find all instances of 5 numbers preceded by a space that are
not 33032, since several people have worked on the document and there
appear
to be quite a few errors in typing that zip code.

I'm sure the "but not" is in there somewhere but I just can't get it
placed
so that I get results. That expression gets me every single time!

Thanks for this and all of your wonderful help over the years. I hope
everybody had a bounteous Thanksgiving. I sure am thankful for you.




  #4   Report Post  
Posted to microsoft.public.word.newusers
shasunder shasunder is offline
external usenet poster
 
Posts: 1
Default Find and Replace

Better try this.

If you are sure that you want to find all the instances of 5 numbers
preceded by a space then in the find dialog box type as ^#^#^#^#^# and in
the replace dialog box type 33032 and click on replace all command button.
Hope this is what you are looking for.
--
Shanmuga Sundaram
Impossible is Impossible


"Island Girl" wrote:

Doug, I feel so stupid! I really didn't need to worry about the typos after
all--just change the correct as well as the incorrect at one time!

Thanks so very much!

"Doug Robbins - Word MVP" wrote:

In the Replace dialog, click on the More button and the check the Use
wildcards box. Then in the Find what control, enter

[0-9]{5}

and in the Replace with control enter

33032

and then click on Replace all.

See the article "Finding and replacing characters using wildcards" at:

http://www.word.mvps.org/FAQs/Genera...gWildcards.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Island Girl" wrote in message
...
I have many pages of addresses, all of which should bear the same zipcode
of
33032.

I'm trying to find all instances of 5 numbers preceded by a space that are
not 33032, since several people have worked on the document and there
appear
to be quite a few errors in typing that zip code.

I'm sure the "but not" is in there somewhere but I just can't get it
placed
so that I get results. That expression gets me every single time!

Thanks for this and all of your wonderful help over the years. I hope
everybody had a bounteous Thanksgiving. I sure am thankful for you.




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
Find multiple characters in one find using MSword find/replace Cliff Microsoft Word Help 2 October 29th 06 07:48 PM
How to Find a 'Printing' Paragraph symbol using 'Find & Replace' A.N. Microsoft Word Help 3 July 3rd 06 03:07 AM
Trying to replace words with fields using Find/Replace mbleyle Microsoft Word Help 2 March 29th 06 11:35 PM
Using find and replace or macros to replace page ranges JeremyC Microsoft Word Help 7 February 13th 06 09:20 PM
Find/ Replace is auto-capping the words I want to replace with Graham Mayor Microsoft Word Help 8 January 27th 06 01:39 AM


All times are GMT +1. The time now is 09:15 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"