Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
MegaC
 
Posts: n/a
Default Inteliigent "find and replace".

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

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Greg
 
Posts: n/a
Default Inteliigent "find and replace".

EditReplaceMore check use wildcards

Find: Test ID?{1,}^13

(or Find: Test ID?{1,}^l if you are using line breaks to end each
line)

Replace with: Not applicable

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans
 
Posts: n/a
Default Inteliigent "find and replace".

Answered in longdocs.

Multiposting just makes volunteers waste their time - which isn't really the
best way to get help from them.

--
Enjoy,
Tony


"MegaC" wrote in message
oups.com...
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



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman
 
Posts: n/a
Default Inteliigent "find and replace".

Click the More button in the Replace dialog and turn on the Use
Wildcards option. See
http://www.gmayor.com/replace_using_wildcards.htm. The search term you
need is

(Test ID[!^13])(^13)

and the replacement item is

Not applicable\2

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On 2 Mar 2006 11:47:23 -0800, "MegaC" wrote:

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

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
How do I do a inteliigent "find and replace" operation? MegaC Formatting Long Documents 1 March 2nd 06 07:59 PM
How do I turn off the "Find and Replace" mode? GVT Microsoft Word Help 1 October 15th 05 04:54 PM


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