View Single Post
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Julian
 
Posts: n/a
Default Replace/Erase substring of a word

Yes I did as you mentioned.
Even though if I did not change the Find field to bold it should have
deleted the first five characters of words with normal format?



"Greg Maxey" wrote:

Did you set the format in the find field to "Bold."

It should work if I understand your objective. Find words in bold and
delete first five characters.

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


Julian wrote:
Thanks Greg
I did as you mentioned but it did not work.

I tried to search
?{5}(*)

and replace it with
\1




"Greg Maxey" wrote:

Try

MoreUse Wildcards

Find: ?{5}(*)
Replace with \1

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


Julian wrote:
Hi
I am trying to find words with bold format and delete the substring
[0,5] of all occurences
All words are longer then 5 letters.
I am able to find the words with the format but I cannot delete the
substing. Is it possible to type something like [6]* in the replace
field to keep the letter 6 and higher in the word?
Any suggestions?