title: Delete a specific and generated random attribute from HTML string
body: <p>Would it be possible to change a string containing this line of HTML:</p>
  <pre><code>'&lt;div _ngcontent-isd-c78=&quot;&quot; pdroppable=&quot;formElements&quot; class=&quot;panel&quot; ng-reflect-scope=&quot;formElements&quot; id=&quot;divPanelId&quot; style=&quot;color: red&quot;&gt;DivContent&lt;/div&gt;'
  </code></pre>
  <p>To this:</p>
  <pre><code>'&lt;div id=&quot;divPanelId&quot; style=&quot;color: red&quot;&gt;DivContent&lt;/div&gt;'
  </code></pre>
  <p>I want to remove <code>_ngcontent-??</code>, <code>pdroppable</code>, <code>class</code> and <code>ng-reflect-scope</code>.</p>
  <p>Is it possible using JavaScript with Regex?</p>
  <p>Note: <code>_ngcontent-isd-c78 </code>is changed randomly. For example, <code>_ngcontent-sfw-c53</code>, <code>_ngcontent-isw-c21</code>. So <code>_ngcontent-????</code> where <code>????</code> is a random value</p>