title: Regex: match many words multiple times
body: <p>I need a regex that matches words and combinations of words, but, I don't know what will be next to those words. I need to match fruits apple,bbanana and orange. fruits will be separated by spaces.</p>
  
  <pre><code>"sometext apple bananamoretext"
  //Should match "apple banana"
  
  "sometext appledifferentmoretext"
  //Should match "apple"
  
  "sometext bananaadditionaltext"
  //Should match "banana"
  
  "sometext apple orangesomethingelse"
  //Should match "apple orange"
  </code></pre>
  
  <p>What I have is this:</p>
  
  <pre><code> /sometext\s((apple|banana|orange)(\s+))*/
  </code></pre>
  
  <p>But I only get <code>apple</code> can't get other fruits</p>