title: Re: Regex - How do I match a word within the first 10 words of a text?
body: <p><strong>Consider following string as an Example Text:</strong></p>
  
  <p>This hook rack holds my purse on the wall with no problems. The hooks are elegant-looking, with a brushed <strong>metal</strong> look that lends itself well to all kinds of decor.</p>
  
  <p>I want to match "<strong>metal</strong>" but only if it appears in the first 10 words of the text. Is that possible to formulate?</p>