title: Match string in between two strings
body: <p>If I have a string like this:</p>
  
  <pre><code>var str = "play the Ukulele in Lebanon. play the Guitar in Lebanon.";
  </code></pre>
  
  <p>I want to get the strings between each of the substrings "play" and "in", so basically an array with "the Ukelele" and "the Guitar".</p>
  
  <p>Right now I'm doing:</p>
  
  <pre><code>var test = str.match("play(.*)in");
  </code></pre>
  
  <p>But that's returning the string between the first "play" and last "in", so I get "the Ukulele in Lebanon. Play the Guitar" instead of 2 separate strings. Does anyone know how to globally search a string for all occurrences of a substring between a starting and ending string?</p>