title: Regex to extract first 3 words from a string
body: <p>I am trying to replace all the words except the first 3 words from the String (using textpad).</p>
  
  <p>Ex value: <strong><code>This is the string for testing.</code></strong></p>
  
  <p>I want to extract just 3 words: <strong><code>This is the</code></strong> from above string and remove all other words.</p>
  
  <p>I figured out the regex to match the 3 words <strong><code>(\w+\s+){3}</code></strong> but I need to match all other words except the first 3 words and remove other words. Can someone help me with it?</p>