title: how can I get only the text part of an innerHTMLtext that has an image combine on it just like this:
body: <pre><code>&lt;div id="demo"&gt;
     &lt;img src="uparrow.png"&gt; 
        &amp;nbsp; MORE CONTESTS &amp;nbsp; 
     &lt;img src="uparrow.png"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I just need to get the MORE CONTESTS part, but because of the images I cannot get it to work. every time I'm running the page the browser do some funky thing with the parameters of the image, and therefore it doesn't match with the validation, any help with it?   </p>