title: Extract words between a word and a delimiter python
body: <p>I have extracted some text data from word document(.doc) and stored in a variable <code>my_text</code>
  such that </p>
  
  <pre><code>my_text[2] = '2 Running Hrs                         -  \tPort M/E RPM  \t-  \t'
  </code></pre>
  
  <p>here <strong>\t</strong> is the delimiter from the document itself.
  I'm trying to extract word/character between a word '<em>Running Hrs</em>' and '<em>\t</em>' a delimiter.
  So that I would get an output '<em>-</em>'<br>
  Here I tried </p>
  
  <ol>
  <li><strong>Trial 1</strong></li>
  </ol>
  
  <hr>
  
  <pre><code>import re
  re.search('Running Hrs(.*)\t', my_text[2].strip()).group(1)
  </code></pre>
  
  <p><strong>Output</strong></p>
  
  <pre><code> '                         -  \tPort M/E RPM  '
  </code></pre>
  
  <ol start="2">
  <li><strong>Trial 2</strong></li>
  </ol>
  
  <hr>
  
  <pre><code>print(re.findall(r'\Running Hrs([^]\t*)\]', str(my_text[2])))
  </code></pre>
  
  <p><strong>output</strong></p>
  
  <pre><code>ERROR: error: bad escape \R
  </code></pre>
  
  <p>Any suggestion on this.</p>