title: Read between certain words and print out whats in between. (Python)
body: <p>Hello I am fairly new to python programming and i was wondering how I would be able to fix my code to allow me to only read in between two strings inside a normal text document. for example lets say i have the following </p>
  
  <pre><code>unimportant data  
  unimportant data   
  unimportant data 
  ... ... ...   
  First string     #I want to print out starting from this line                     
  Important data
  Important data
  Important data
  Important data  
  Last String       #Last line I dont want to print this line.
  unimportant data  
  unimportant data   
  unimportant data 
  unimportant data  
  unimportant data   
  unimportant data 
  </code></pre>
  
  <p>So far I have been able to make a simple File I/O to read a single line.</p>
  
  <pre><code>data_file = open("test.txt", "r")
  
  for line in data_file:
      if re.match("(.*)First String(.*)", line):
          print(line)
  </code></pre>
  
  <p>however this only prints out the First line. </p>
  
  <p>Any tips or help would be much appericated thank you.</p>