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 a text with bold & italic font and I need to convert it to html. First, I need to convert bold text to .... I found some solutions, but all of them uses VBA code. Is it possible to fix it with search&replace (it is possible to search for bold text in Word 2007 for example).

share|improve this question
up vote 7 down vote accepted

Tested in Word 2010:

In the search and replace dialog:

  • Leave the Find what: field blank
  • In the Replace with: put <b>^&</b>
  • In the Format -> Font section, select Bold
  • Replace All

This will put the tags around your bold text. They and the original text will still be bold but that shouldn't be an issue for most purposes.

share|improve this answer
Thank you, Mike! – alex52 Aug 3 '10 at 9:09
You're welcome. Welcome to superuser. – Mike Fitzpatrick Aug 3 '10 at 9:20

You must log in to answer this question.

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