Quote:
Originally Posted by estrellanavidad
Hi I would like to know if there is anyway to change the color o background color of the same word in the whole book. For example everytime the word house appears is in blue or highlighted.
I figured how to do it one mention at a time but I was hoping for a quicker way because I have like 3000 thousand books I have to do it to.
Thank you so much
|
Wrap it in a span
search: \b(house)\b
Replace: <span class="makeblue">\1</span>
CSS: span.makeblue {background-color: blue;}
note, I limit the check for only the word House (not housekeeping) by looking at a boundary . I use the capture solely to make the replace simple