title: htaccess rewrite replace space with -
body: <p>I am really stuck on a rewrite rule and wonder if anyone can help.</p>
  
  <p>I am pulling data from a database, and as an example the field "name" i use sometimes has 2 words in with a space between. I use this alot on the site but in the url i want to replace the space with a - as i use this field as a variable to determine the record i want to pull.</p>
  
  <p>so i need to turn clubs/premier league/manchester city/</p>
  
  <p>into</p>
  
  <p>clubs/premier-league/manchester-city/ </p>
  
  <p>thanks in advance</p>
  
  <p>richard</p>