title: Javascript regex : remove text between HTML tags
body: <p>i want to remove text that is between any HTML tags : </p>
  
  <p>example : </p>
  
  <pre><code>&lt;div&gt;
     &lt;h1&gt;Title&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>my var result should be : </p>
  
  <pre><code>&lt;div&gt;
      &lt;h1&gt;&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>