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 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

1 Answer 1

up vote 6 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

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.