title: Regex to check capitalization of keyword
body: <p>Suppose I have a keyword <code>ProcessTest</code> and I want to match all occurrences that are not capitalized that way, in order to replace them with correctly spelled keyword.</p>
  
  <pre><code>PROCESSTEST &gt;&gt; ProcessTest
  Processtest &gt;&gt; ProcessTest
  proceSstest &gt;&gt; ProcessTest
  </code></pre>
  
  <p>Etc.</p>
  
  <p>So I first need a case-insensitive match for the keyword, an next a case sensitive check for the correctly spelled keyword.</p>
  
  <p>Any suggestions how to do this with regex?</p>