title: replace href link text
body: <p>Is my code correct?</p>
  
  <pre><code> function replace_stuff() {
    document.body.innerHTML = document.body.innerHTML.replace(/oldtexts/g,'');
   }
  </code></pre>
  
  <p>I am trying to remove the string "oldtexts" between an <code>a href</code> tag like 
  this <code>&lt;a href ="#"&gt;oldtexts&lt;/a&gt;</code> but i still see oldtexts and nothing gets replaced </p>