title: extract text between two words in a TEXT field
body: <p>I need to fetch the text (regardless of content) between the first appearance of each of two words in a TEXT field.</p>
  
  <p>The words will be set as variables at the beginning of the Mysql Script by the user and may change each execution.</p>
  
  <pre><code>SET @begin = 'DOLOR';
  SET @end = 'AETERNAM';
  </code></pre>
  
  <p>On the mock text below,</p>
  
  <pre><code> lorem ipsum DOLOR sit amet requiem in AETERNAM domine eis kyrie eleison.
  </code></pre>
  
  <p>I would like to be able to fetch <code>sit amet requiem in</code> without trailing or leading spaces.</p>