Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.