title: Python regex get value between two words from multiple line
body: <p>Below is the file in which I am trying to get all the values and all the occurrences  between <strong>Data</strong> and <strong>Column</strong></p>
  
  <p><strong>Current Code</strong></p>
  
  <pre><code>import re
  
  filedata = open('test.csv', 'r')
  
  re.findall(r'data\n+(.*)', filedata.read(), re.I)
  </code></pre>
  
  <p><strong>Current Output</strong></p>
  
  <pre><code>output = ['1,test', '10,test', '100,test']
  </code></pre>
  
  <p><strong>Expected Output from below file</strong></p>
  
  <pre><code>output = ['1,test', '2,test', '10,test', '11,test', '100,test', '200,test]
  </code></pre>
  
  <p><strong>test.csv</strong></p>
  
  <pre><code>Column
  Num,Tape
  data
  
  1,test
  2,test
  
  column
  Num,Tape
  Data
  
  10,test
  20,test
  
  column
  Num,Tape
  Data
  100,test
  200,test
  </code></pre>