Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have seen the posting for Replace bold text with in MS Word without macros.

How can I do the opposite? How can I open up a .txt file that has html tags in it like

here is <i>italic</i> text here and then I also have <b>bold text</b> over here

and convert ALL occurrences of <i>...</i> to italicized text and <b>...</b> to bold text?

share|improve this question

You'll need to make sure you have the full Search/Replace dialogue box open.

Tick the Use Wildcards checkbox.

Find what: \<b\>(*)\</b\>

Replace with: \1

Then click the Format button and select bold.

Then replace all.

You can then do a similar procedure for italics.

For an explanation of Word's wildcards, see this article.

share|improve this answer
    
Thank you so much! did not know about that feature! – ferd berfel Dec 9 '10 at 20:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .