View Single Post
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
msnyc07 msnyc07 is offline
external usenet poster
 
Posts: 12
Default Selective Replace in Search and Replace

I need to search and replace in a large document. I don't want to replace the
entire search term/expression just part of it. In this case I am searching
for a paragraph return followed by any letter (not digit) and then want to
change that to paragraph/tab but keep the letter. The search looks like this

^p^$

but naturally if replace is



^p^t

I lose the first letter of the text string which I don't want

How can I construct either search and replace so that



^p

Alexander

turns into

^p

^tAlexander

and not

^p

^tlexander



Thanks in advance!