title: Regex to extract multiple URLs
body: <p>I would like to extract all Category values for DoubleClick URLs that sit within all of the web source code across a full site ;</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var axel = Math.random() + "";
  var a = axel * 10000000000000;
  document.write('&lt;iframe src="https://1234567.fls.doubleclick.net/activityi;src=1234567;type=examp123;cat=examp999;ord=1;num=' + a + '?" width="1" height="1" frameborder="0" style="display:none"&gt;&lt;/iframe&gt;');
  &lt;/script&gt;
  &lt;noscript&gt;&lt;iframe src="https://1234567.fls.doubleclick.net/activityi;src=1234567;type=examp456;cat=examp888;ord=1;num=1?" width="1" height="1" frameborder="0" style="display:none"&gt;&lt;/iframe&gt;&lt;/noscript&gt;
  </code></pre>
  
  <p>What I would like to extract is as follows;</p>
  
  <ul>
  <li>Cat 1 = <strong>examp999</strong></li>
  <li>Cat 2 = <strong>examp888</strong></li>
  </ul>
  
  <p>I have tried the below from @AnkitMishra answer;</p>
  
  <pre><code>https:\/\/(?:.*.doubleclick.net).*cat=([^;]*);
  </code></pre>
  
  <p>This returns both values - however the tool I am using to crawl all pages of a website only returns one match per regex.  It doesn't support multiple values, so it returns the first match.  How can I create a 2nd string, to capture the 2nd Cat value?</p>
  
  <p>If one cat value is a default, i.e. defau123 - can I use something like this, within the rule above, to ignore cat values of defau123, but pass anything else?</p>
  
  <p>^((?!defau123).)*$</p>
  
  <p>Any help would be greatly appreciated!</p>