using System.Text.RegularExpressions;
public static void Main()
WebClient client = new WebClient();
string url = "http://download.cms.gov/nppes/NPI_Files.html";
string rawHtml = client.DownloadString(url);
Regex fileNames = new Regex("NPPES_Data_Dissemination([^'\"]+)\\.zip", RegexOptions.IgnoreCase);
foreach (Match fileNameMatch in fileNames.Matches(rawHtml))
Console.WriteLine(fileNameMatch);