Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. string URL = "entail.eu/client-files/";
  2. WebClient WC = new WebClient();
  3. string HTML = WC.DownloadString(URL);
  4. MatchCollection M = Regex.Matches(HTML, "<A HREF=".*">(.*)</A>");
  5. foreach (Match Match in M) {
  6. RichTextBox_Log.AppendText("Name : " + Match.Groups[1] + " | Link : /client-files/" + Match.Groups[1] + "n");
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement