using System; using System.Text.RegularExpressions; public class Test { public static void Main() { Regex re = new Regex(@"http://nppes\.viva-it\.com/.+\.zip"); string data = "Download the information as a ZIP"; Console.WriteLine(re.Match(data).Value); } }