Need help on applying styling by Javascript code
===

I want to apply style(blue font) for the matching words in a particular string which may have more than one words. This string can have same word repeated as well. 

Ex: 
String paragraph = "This is the string which will be matched against substring. The matching substring can be a single word or multple words composed string. "

String matchingString = 'string word'

Now i want to apply blue bold style to the matching words of both string and word in paragraph string.

Would you please help me out how to do this by javascript?

Advance thanks
Robert.

