title: htaccess search and replace plus sign with dash
body: <p>I have form with two parameters city,keyword which are passed to search.php ,after submitting it redirects to url like 
  <strong>website.com/search/lenovo+laptop+dealers/Delhi</strong></p>
  
  <p>But i need url to be parsed without those plus signs but with a dash in url </p>
  
  <p>Example: <strong>website.com/search/lenovo-laptop-dealers/Delhi</strong></p>
  
  <p>Code in my htaccess file</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /
  
  
  RewriteCond %{THE_REQUEST} \s/+search\.php\?keyword=([^&amp;]+)&amp;city=([^\s&amp;]+) [NC]
  RewriteRule ^ /search/%1/%2? [R=301,L,NE]
  
  RewriteRule ^search/([\w-]+)/([\w-]+)/?$ /search.php?keyword=$1&amp;city=$2 [L,QSA]
  </code></pre>