title: modrewrite with regex making it simpler
body: <p>Hi all I am trying to clean-up my mod rewrite for pages like this:</p>
  
  <pre><code>sales/provider/all/name=asc/page=1
  sales/provider/all/name=desc/page=1
  </code></pre>
  
  <p>Currently I am using a new line for everything like that:</p>
  
  <pre><code>  RewriteRule ^sales/provider/all/name=asc/page=([0-9]+)?$ /sales.php?sort=name&amp;order=asc&amp;view=provider&amp;provider_id=all&amp;page=$1 [N,NC,QSA]
  
    RewriteRule ^sales/provider/all/name=desc/page=([0-9]+)?$ /sales.php?sort=name&amp;order=desc&amp;view=provider&amp;provider_id=all&amp;page=$1 [N,NC,QSA]
  </code></pre>
  
  <p>What is the simplest way to get the "name" and "asc" or "desc" using regex so I can then have only one rule instead of loads of them.</p>