title: vbscript multiple replace regex
body: <p>How do you match more than one pattern in vbscript?</p>
  
  <pre><code>Set regEx = New RegExp
  
  regEx.Pattern = "[?&amp;]cat=[\w-]+" &amp; "[?&amp;]subcat=[\w-]+" // tried this
  regEx.Pattern = "([?&amp;]cat=[\w-]+)([?&amp;]subcat=[\w-]+)" // and this
  
  param = regEx.Replace(param, "")
  </code></pre>
  
  <p>I want to replace any parameter called cat or subcat in a string called param with nothing.</p>
  
  <p>For instance</p>
  
  <pre><code>string?cat=meow&amp;subcat=purr or string?cat=meow&amp;dog=bark&amp;subcat=purr
  </code></pre>
  
  <p>I would want to remove cat=meow and subcat=purr from each string.</p>