title: Get substring between tags in javascript
body: <p>I'm getting an array of strings in following format. </p>
  
  <p><code>&lt;data&gt;&lt;summary&gt;SUMMARY&lt;/summary&gt;&lt;details&gt;DETAILS&lt;/details&gt;&lt;/data&gt;</code></p>
  
  <p>How do I get the content in between the <code>&lt;summary&gt; &lt;/summary&gt;</code> tags using javascript? </p>