Take the 2-minute tour ×  I am writing a program in c#. I need
to know if there an option to open an URL of a site and look for
keywords in the text. For example if my program gets the URL
http://www.google.com and the keyword "gmail" it will return
true. So for conclusion i need to know if there a way to go to
URL download the HTML file convert it to text so i could look
for my keyword.  share|improve this question add comment  4
Answers  up vote 1 down vote accepted  You should be able to
open the HTML file as-is. HTML files are plaintext, meaning that
FileStream and StreamReader should be sufficient to read the
file.  If you really want the file to be a .txt, you can simply
save the file as filename.txt instead of filename.html when you
download it.  share|improve this answer I think his problem is
actualy downloading the page not converting it to text. Is there
such function to do so? –  atoMerz Aug 18 '11 at 17:36 and how
can i download the html using url ? –  yoni2 Aug 18 '11 at 17:39
@yoni2: Take a loo