How would I use regex to obtain a piece of a link? <p>Current code:</p> <pre><code>public static void WhoIsOnline(string worldName, WhoIsOnlineReceived callback) { string url = "http://www.tibia.com/community/?subtopic=worlds&amp;world=" + worldName; HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(url); request.BeginGetResponse(delegate(IAsyncResult ar) { string html = GetHTML(ar); MatchCollection matches = Regex.Matches(html, @"&lt;TD WIDTH=70%&gt;&lt;[^&lt;]*&gt;([^&lt;]*)&lt;/A&gt;&lt;/TD&gt;&lt;TD WIDTH=10%&gt;([^&lt;]*)&lt;/TD&gt;&lt;TD WIDTH=20%&gt;([^&lt;]*)&lt;/TD&gt;&lt;/TR&gt;"); List&lt;CharOnline&gt; chars = new List&lt;CharOnline&gt;(matches.Count); CharOnline co; for(int i = 0; i &lt; matches.Count; i++) { co = new CharOnline(); co.Name = Prepare(matches[i].Groups[1].Value); co.Level = int.Parse(matches[i].Groups[2].Value); co.Vocation = Prepare(matches[i].Groups[3].Value); chars.Add(co); } callback(chars); }, request); } </code></pre> <p>I was using this to scrape the online list, but they have changed their layout and I'm not sure how to change the regex to get the same information.</p> <p><a href="http://www.tibia.com/community/?subtopic=worlds&amp;world=Libera" rel="nofollow">http://www.tibia.com/community/?subtopic=worlds&amp;world=Libera</a></p> <p>The link I am trying to use above.</p>