title: Htaccess - get last word of url
body: <p>I want to implement a .htaccess redirect based on the following pattern:</p>
  
  <pre><code>www.site.com/ugly-depreciated-values-name
  </code></pre>
  
  <p>to </p>
  
  <pre><code>www.site.com/location/name
  </code></pre>
  
  <ul>
  <li>The value after the final hyphen will always be used as the new url. </li>
  <li>There is not a constant number of hyphens in the old urls.</li>
  </ul>