title: How to replace all links in HTML with one div element with Javascript/Jquery?
body: <p>How to replace all links in HTML with one div element?</p>
  
  <p>For example : I have link code as :</p>
  
  <pre><code>&lt;div class="link"&gt;&lt;a href="stackoverflow.com"&gt;Stackoverflow&lt;/a&gt;&lt;/div&gt;
  &lt;div class="link1"&gt;&lt;a href="stackoverflow.com/link1"&gt;Stackoverflow&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I now want replace to become as :</p>
  
  <pre><code>&lt;div class="link"&gt;replaced link&lt;/div&gt;
  &lt;div class="link1"&gt;replaced link&lt;/div&gt;
  </code></pre>
  
  <p>I need your helps. Thanks so much. </p>