title: .htaccess pretty url's for legacy files
body: <p>I've taken over a project which has references to "lorem.php" not making use of Mod Rewrite unfortunately, I'm finding it an eye sore and would love to knock the extension off (at least).</p>
  
  <p>The ideal URL would look like "/process-app" would map to "/processApp.php"</p>
  
  <p>My issue is the camelCase naming convention used throughout everything.</p>
  
  <ul>
  <li>I can't rename the files due to legacy URL's being referenced</li>
  <li>Doing individual file references for every file is out of the question due to the amount of files that exist, a dynamic solution is required</li>
  </ul>
  
  <p>I doubt there is a way to capitalize the first letter of the variable within the rule?</p>
  
  <p>Here is what I have:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([a-z]+)-([A-z]+)?$ $1$2.php
  </code></pre>
  
  <p>But the URL to make the correct file reference needs to be "/process-App"</p>