title: Regex : Strip off HTML tags from sting but leave email address in '<>'
body: <p>I looked into many StackOverflow questions but none of them answer my question.</p>
  
  <p>Basically, I could have a string like below:</p>
  
  <pre><code>"From: 'Hima Chitalia (Hima- at Web Development)' via IWeb Development Support [mailto:hima@webdevelopement.com] 
  &lt;div&gt;Sent: Monday, January 7, 2019 7:24 PM
  &lt;/div&gt;&lt;div&gt;To: Hima Chhag (hc) &lt;hchhag@wd.com&gt;;
  &lt;/div&gt;&lt;div&gt;Cc: Hima (hagain) &lt;hagain@web.com&gt;;
  &lt;/div&gt;&lt;div&gt;Subject: RE: strip off HTML Tags but not email addresses
  &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;"
  </code></pre>
  
  <p>So, If there are any HTML tags, I need to replace it with an empty string. But if there is an email address like this '&lt;hchhag@wd.com&gt;'. It should be left as it is.</p>
  
  <p>Few things I tried:</p>
  
  <pre><code>string.replace(/&lt;[^&lt;&gt;]*&gt;/g,'')
  string.replace(/&lt;[^&gt;]*&gt;/g,'')
  string.replace(/&lt;(?:[^&gt;=]|='[^']*'|="[^"]*"|=[^'"][^\s&gt;]*)*&gt;/g,'')
  </code></pre>
  
  <p><strong>Actual Result:</strong></p>
  
  <pre><code> "From: 'Hima Chitalia (Hima- at Web Development)' via Web Development Support [mailto:hima@webdevelopement.com] 
  Sent: Monday, January 7, 2019 7:24 PM
  To: Hima Chhag (hc) ; 
  Cc: Hima (hagain) 
  Subject: RE: strip off HTML Tags but not email addresses
  "
  </code></pre>
  
  <p><strong>Expected:</strong></p>
  
  <pre><code> "From: 'Hima Chitalia (Hima- at Web Development)' via Web Development Support [mailto:hima@webdevelopement.com] 
  Sent: Monday, January 7, 2019 7:24 PM
  To: Hima Chhag (hc) &lt;hchhag@wd.com&gt;; 
  Cc: Hima (hagain) &lt;hagain@web.com&gt;
  Subject: RE: strip off HTML Tags but not email addresses
  "
  </code></pre>
  
  <p>Any suggestion to fix it?</p>