View Single Post
  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Johann Swart Johann Swart is offline
external usenet poster
 
Posts: 26
Default Wildcard Search and Replace

Hi TJ, you are 100% correct; I am using TC. And really, I should have guessed
this myself having had similar experiences with TC. I turned TC off and S&R
had the desired effect. Thanks a million for reminding me!

"Tony Jollans" wrote:

There is a bug (fixed in Word 2007) that causes this to happen when Track
Changes is on. Try switching off Track Changes before your Replace and the
turning it back on afterwards.

--
Enjoy,
Tony

www.WordArticles.com

"Johann Swart" wrote in message
...
I have "inherited" a set of documents that exhibit a rather strange
behaviour.
In these documents three-letter codes are listed in the form ABC/DEF. I
want
to change these to ABC / DEF (i.e. [code][hardspace][forward
slash][hardspace][code]). In the Word Search and Replace I select Use
Wildcards. I then enter in the Find What line: ([A-Z]{3})/([A-Z]{3}) and
in
the Replace With line \1^s/^s\2.
The result is this (surprisingly!): ABCDEF /.
When I create a new test document to replicate this situation, the result
is
as expected, i.e. ABC / DEF.
Has anyone ever experienced a situation similar to this? The problem
obviously lies with the document itself and not the PC or Word. Has anyone
any idea what is going on here and how one can remedy this peculiarity?