// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using System.IO; using System.Net; using System.Text.RegularExpressions; class MainClass { public static void Main(string[] args) { Find("http://tv2.dk/", ".gif"); } public static void Find(string url, string imgtyp) { WebClient wc = new WebClient(); StreamReader sr = new StreamReader(wc.OpenRead(url)); string html = sr.ReadToEnd(); MatchCollection res = Regex.Matches(html,"(?: