08-10-2009, 2:33 AM
|
David
Joined on 01-26-2008
Posts 193
|
Re: HTML replace: how to replace more than one string
|
 
 
|
|
|
1. Please fill in the replacement in "HTML Replace" addin and save the .word2chm project file.
2. Then open the .word2chm with any text editor, clone the HtmlReplace.Addin and modify it to fit your requirement.
<Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="a" ReplaceHTML="b"/>
<Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="c" ReplaceHTML="d"/>
3. Loop 2 as you need.
4. Save the .word2chm and re-open it with Word-2-CHM.
5. Perform convert action, and enjoy it :)
|
|
|
|
|
Report
|
|
|
|