title: React search bar searching text in Div in a component
body: <p>I am trying to make a search bar to search a text in a component, may i know if it is possible to do?</p>
  
  <pre><code>class App extends React.Component {
      render() {
         return (
             /**search the text inside this DIV**/
            &lt;div&gt; this is a dog. &lt;/div&gt;
         )
      }
  }  
  </code></pre>
  
  <p>Thanks:)</p>