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