Inteliigent "find and replace".

M

MegaC

Hi All,

I need to do a inteliigent "find and replace". How do I have MS Word

do a search and replace using the following rule:


Find the word Test ID (followed by anything up to a newline) and
replace it with a constant word.


eg.


Here are three lines of text
Test ID (723) - Success Path - CLI Configure Acct-Interim-Interval
(AII) Timer
Test ID (724) - Success Path - Session Release - 3GPP PCC to 3GPP PCC
termination of a call
Test ID (725) - Success Path - Session Cancelled - 3GPP PCC to 3GPP PCC

call session is cancelled by originator prior to successful set-up


What I want to do is do a search that reads "replace all occurances of
TEST ID (followed by anything up to a newline) and replace it with the
word 'Not applicible".


Please help!
Derek
 
K

Klaus Linke

And if you still haven't found it, try (Match wildcards)
Find what: Test ID[!^13]@(^13)
Replace with: Not applicable\1

Greetings,
Klaus
 
S

Suzanne S. Barnhill

No, he multiposted to several other NGs and got a plethora of answers in
each.



Klaus Linke said:
And if you still haven't found it, try (Match wildcards)
Find what: Test ID[!^13]@(^13)
Replace with: Not applicable\1

Greetings,
Klaus


Suzanne S. Barnhill said:
You might have a look at
http://word.mvps.org/FAQs/General/UsingWildcards.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup
so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top