title: Extract a substring between two words from a string
body: <p>I have the following string:</p>
  
  <pre><code>string = "asflkjsdhlkjsdhglk&lt;body&gt;Iwant\to+extr@ctth!sstr|ng&lt;body&gt;sdgdfsghsghsgh"
  </code></pre>
  
  <p>I would like to extract the string between the two <code>&lt;body&gt;</code> tags. The result I am looking for is:</p>
  
  <pre><code>substring = "&lt;body&gt;Iwant\to+extr@ctth!sstr|ng&lt;body&gt;"
  </code></pre>
  
  <p>Note that the substring between the two <code>&lt;body&gt;</code> tags can contain letters, numbers, punctuation and special characters.</p>
  
  <p>Is there an easy way of doing this? Thank you!</p>