title: How can I get the first and last word using regex
body: <p>I know with regex you can get every word and their first letter with:</p>
  
  <pre><code>/\b(\w)/g,
  </code></pre>
  
  <p>But is there also a way to get the first word?(I tried a lot of googling but couldnt find any that did both instead of either first or last word)
  I believe it should be possible to get both in 1 regex instead of 2 different ones.</p>
  
  <p>A example for my string and wanted result?</p>
  
  <p>String: Hello Mister world</p>
  
  <p>Would give back: ['H', 'w']</p>