title: how to highlight all the occurrence of a particular string in a div with java script?
body: <p>i need to highlight all the occurrences of a string in particular div by selecting a string, 
  once i select a word and click a button it need to highlight all its occurrence inside a div,</p>
  
  <p>eg - if i select </p>
  
  <blockquote>
    <p>cricket is game</p>
  </blockquote>
  
  <p>it should highlight all the occurrences of cricket is game some may be like this  <strong>cricket</strong> is game or <em>cricket</em> <strong>is game</strong></p>
  
  <p><img src="https://i.stack.imgur.com/YKRen.jpg" alt="enter image description here"></p>