title: single regex to capitalize first letter and replace dot
body: <p>Trying out with a regex for simple problem. My input string is </p>
  
  <p><code>firstname.ab</code> </p>
  
  <p>And am trying to output it as,</p>
  
  <p><code>Firstname AB</code></p>
  
  <p>So the main aim is to capitalize the first letter of the string and replace the dot with space. So chose to write two regex to solve.</p>
  
  <p><strong>First One :</strong> To replace dot with space <code>/\./g</code> </p>
  
  <p><strong>Second One :</strong> To capitalize the first letter <code>/\b\w/g</code></p>
  
  <p>And my question is, Can we do both operation with a single regex ?</p>
  
  <p>Thanks in advance !!</p>