title: How to convert camel case to snake case with two capitals next to each other
body: <p>I am trying to convert camel case to snake case.</p>
  <p>Like this:</p>
  <p><code>&quot;LiveKarma&quot;</code> -&gt; <code>&quot;live_karma&quot; </code><br />
  <code>&quot;youGO&quot;</code> -&gt; <code>&quot;you_g_o&quot;</code></p>
  <p>I cannot seem to get the second example working like that. It always outputs as 'you_go' . How can I get it to output 'you_g_o'</p>
  <p>My code:</p>
  <pre><code>(Regex.Replace(line, &quot;(?&lt;=[a-z0-9])[A-Z]&quot;, &quot;_$0&quot;, RegexOptions.Compiled)).ToLowerInvariant()
  </code></pre>