title: Struggling with regex code: CamelCase to camel_case
body: <p>I was able to transform the string <code>MyClassName</code> to <code>my_class_name</code> using a regex</p>
  
  <p>However my solution did not work with <code>MyOtherTClassName</code>, that should transform to <code>my_other_t_class_name</code>.</p>
  
  <p>Also, this didn't work on <code>ClassNumber1</code> either, which should be transformed into <code>class_number_1</code></p>
  
  <p>Without getting into my solution, that was not good enough, I would like help with the regex code that transforms:</p>
  
  <ol>
  <li><code>MyClassName</code> -> <code>my_class_name</code></li>
  <li><code>MyOtherTClassName</code> -> <code>my_other_t_class_name</code></li>
  <li><code>MyClassWith1Number</code> -> <code>my_class_with_1_number</code></li>
  </ol>
  
  <p>Thanks,</p>
  
  <p>Guy</p>