title: Javascript: How to cut a specific part of a string?
body: <p><strong>THE SITUATION:</strong></p>
  
  <p>I need to cut a specific part of a string.
  That part will not always be the same in length and content.</p>
  
  <p>The only thing i know is that it will always start with: <code>&lt;style&gt;</code>
  and finish with: <code>&lt;/style&gt;</code></p>
  
  <p>All the content in the middle must cut out (style tag included).</p>
  
  <p><br></p>
  
  <p><strong>THE QUESTION:</strong></p>
  
  <p>How can i cut a specific part of a string knowing only the begin and the end of that part?</p>