fork(3) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Regex re = new Regex(@"http://nppes\.viva-it\.com/.+\.zip");
  9. 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>";
  10.  
  11. Console.WriteLine(re.Match(data).Value);
  12. }
  13. }
Success #stdin #stdout 0.07s 37304KB
stdin
Standard input is empty
stdout
http://n...content-available-to-author-only...t.com/NPPES_Data_Dissemination_Mar_2012.zip