I’ve several hundred Word documents that I need to insert html tags as per below:
a short bold text line
becomes
a short <b>bold text</b> line
Does anyone know the easiest and most efficient way of doing this?
Currently looking at doing a macro.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a solution I found, tested with 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. Then you can just copy it to put it in the webpage.
Edit:
Alternatively, you could use Wildcards with search and replace, using the pattern
\<b\>(*)\</b\>.