title: How to take first character from 2 words
body: <p>I have input = &quot;Graha Cinere&quot;. And I want the output just &quot;GCi&quot;. So G it's take from first characters in first words and Ci from second words.</p>
  <pre class="lang-js prettyprint-override"><code>    val = &quot;Graha Cinere&quot;
      val.match(/\b(\w)/g).join('')
  </code></pre>
  <p><strong>Current output :</strong> GC</p>
  <p><strong>Expected Output :</strong> GCi</p>
  <p>I wish there's an answer from my question.</p>