title: Recognize character inside div and add class javascript
body: <p>I am trying to recognize character inside div and add to all the matches class.</p>
  
  <p>Example :</p>
  
  <pre><code>&gt; Kapetown &gt; China Town &gt;London &gt; Washington
  </code></pre>
  
  <p>I want to recognize the character <code>&gt;</code> and give all of them class</p>
  
  <p>I tried to do this </p>
  
  <pre><code>if (sign.indexOf("$") &gt;= 0) {
   //remove the sign
  }
  </code></pre>