title: Extract words between two words with regex
body: <p>I have a string: </p>
  
  <blockquote>
    <p>8 nights you doodle poodle</p>
  </blockquote>
  
  <p>I wish to retrieve every thing between <code>nights</code> and <code>poodle</code>, so in the above example, the output should be <code>you doodle</code>. </p>
  
  <p>I'm using the below regex. Please can someone point out what I may be doing wrong?</p>
  
  <pre><code>if (preg_match("nights\s(.*)\spoodle", "8 nights you doodle poodle", $matches1)) {
      echo $matches1[0]."&lt;br /&gt;"; 
  }
  </code></pre>