title: Modifying a regex for a better matching
body: <p>Considering we have this regex to match URLs in a page:</p>
  
  <pre><code>(https?):\\/\\/(www\\.)?[a-z0-9\\.:].*?(?=\\s)
  </code></pre>
  
  <p>My question is that how we can improve it to, for example, matches:</p>
  
  <pre><code>http://stackoverflow.com/questions/ask
  </code></pre>
  
  <p>instead of :</p>
  
  <pre><code>http://stackoverflow.com/questions/ask"&gt;home&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
  </code></pre>
  
  <p>In short, I want it to filter any of <code>;:'".,&lt;&gt;?«»“”‘’</code> that usually comes after URLs in a page HTML code.</p>