title: Extract a block of text between two strings, repeat process throughout document
body: <p>I am using python to attempt to read a txt file and pull out multiple blocks of text between strings. Here is an example:</p>
  
  <pre><code>something something something I dont want
  Select and then any length and joins etc of text that I want which could be  multiple lines
  : this semicolon is the end of what I want
  something something something I dont want again
     Select and then any length and joins etc of text that I want which could be  multiple lines
  : this semicolon is the end of what I want
  </code></pre>
  
  <p>Select is where I want to start extracting data and ; is where I want to stop</p>
  
  <p>This will repeat itself throughout a 900 page document. </p>
  
  <p>Any suggestions?</p>