If you are ready to use the library, Azle will make it easy. Just aim at the class and class instance of your text element. For example, if my block of text is inside an element with class "my_text" and this is the first instance of this class:
az.style_word('my_text', 1, { "this_class" : "colored_word", "word" : "deploy", "color" : "red", "word_instance" : 2 })
The following shows how we can color each instance of a word, or target the 1st, 2nd, or 3rd instance of a word specifically:

Here is the fiddle
Cybernetic Jan 19 '19 at 19:59 2019-01-19 19:59
source share