title: How to parse Camel Case to human readable string?
body: <p>Is it possible to parse camel case string in to something more readable.</p>
  
  <p>for example:</p>
  
  <ul>
  <li>LocalBusiness = Local Business</li>
  <li>CivicStructureBuilding = Civic Structure Building</li>
  <li>getUserMobilePhoneNumber = Get User Mobile Phone Number</li>
  <li>bandGuitar1 = Band Guitar 1</li>
  </ul>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Using <a href="https://stackoverflow.com/questions/6254093/how-to-parse-camel-case-to-human-readable-string/6254138#6254138">simshaun</a> regex example I managed to separate numbers from text with this rule:</p>
  
  <pre><code>function parseCamelCase($str)
  {
      return preg_replace('/(?!^)[A-Z]{2,}(?=[A-Z][a-z])|[A-Z][a-z]|[0-9]{1,}/', ' $0', $str);
  }
  
  //string(65) "customer ID With Some Other JET Words With Number 23rd Text After"
  echo parseCamelCase('customerIDWithSomeOtherJETWordsWithNumber23rdTextAfter');
  </code></pre>