title: Extract url based on specific keyword
body: <p>I am crawling data from certain websites and I am looking to extract data from specific urls. One such case let say url with <code>*devicehelp.optus.com.au/web/*</code> as as example. PFB my regex -</p>
  
  <pre><code>/[^]*devicehelp\.optus\.com\.au\/web\/[^.]*/
  </code></pre>
  
  <p>This regex doesn't give me perfect match what I am looking for. Could someone please let me know what am I missing here? </p>
  
  <p>Test urls - </p>
  
  <pre><code>*devicehelp.optus.com.au/web/*
  http://www.top.abc.something.optus.devicehelp.optus.com.au/web/web/web/
  </code></pre>
  
  <p>This regex works when I test it on <a href="http://regexr.com/" rel="nofollow">http://regexr.com/</a> but doesn't on <a href="https://regex101.com/" rel="nofollow">https://regex101.com/</a></p>