Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1.         void getUrl()
  2.         {
  3.             WebClient web = new WebClient();
  4.             string html = web.DownloadString("https://www.blocket.se/stockholm/Playstation_3_Slim_med_spel_Nyskick_86359636.htm?ca=18&w=3");
  5.  
  6.             Match pris = Regex.Match(html, @"h3 nmb>(.?)</div>", RegexOptions.Singleline);
  7.  
  8.             textBox1.Text = html.ToString();
  9.  
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement