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 = "<a href=\"http://n...content-available-to-author-only...t.com/NPPES_Data_Dissemination_Mar_2012.zip\">Download the information as a ZIP</a>"; Console.WriteLine(re.Match(data).Value); }}
Standard input is empty
http://n...content-available-to-author-only...t.com/NPPES_Data_Dissemination_Mar_2012.zip
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!