title: replace underscores with dashes in codeigniter URL structure
body: <p>im having a website which is developed using codeigniter. My URL strcuture has around 4 segments and over 500 pages. Currently my URL has underscores (_) but i need to replace it which dashes (-)</p>
  
  <p>current structure</p>
  
  <pre><code>mywebsite.com/app/standalone_apps/high_runner_beta/download
  </code></pre>
  
  <p>required URL structure</p>
  
  <pre><code>mywebsite.com/app/standalone-apps/high-runner-beta/download
  </code></pre>
  
  <p>i cant user the routing feature in CI coz there are too many links that needs to be redirected.</p>
  
  <p>i did try the solutions in 
  <a href="https://stackoverflow.com/questions/2428134/codeigniter-routes-regex-using-dashes-in-controller-method-names">Codeigniter Routes regex - using dashes in controller/method names</a>
  but it didn't work.</p>
  
  <p>can someone suggest a method where i can replace the underscores with dashes on my URLs.</p>