title: How to replace lower case with upper case using regular Expression?
body: <p>I have the string a with full of lower case. I tried to use the following Expression to replace lower case with upper case but it does not work as I want. How can I turn the lower case into upper case in string a?</p>
  
  <pre><code>using System.Text.RegularExpressions;
  
  string a = "pieter was a small boy";
  a = Regex.Replace(a, @"\B[A-Z]", m =&gt; " " + m.ToString().ToUpper());
  </code></pre>