title: Find particular string from URL in JavaScript
body: <p>I have some URLs like:</p>
  
  <pre><code>staging.myurl.com
  dev.myurl.com
  qa.myurl.com
  </code></pre>
  
  <p>I get these urls from json, json can have these URLs or any other url as well, But I want to find URLs which matches myurl.com, whatever will be the postfix or prefix of this URL, that does not matter. How can I do it using regex?</p>