OK. So what I am trying to do is this, its something basic, but i cant do it.

I have a web browser, its invisible, it then logs on using the details in the options of the program, it then downloads the HTML into a textbox(multiline).

There is a small line of code in the HTML that displays the users name, however depending on who logged in, the name can be different. I want to know, how do a search through this mass amount of text and only get the small text "Welcome, ****" (where **** = a name)


I thought that maybe i could find out the position of the start of the "Welcome," then find the position of the "&nsb" after the users name, then subtract both numbers, and there is the number for the TextBox1.SelectionLength

Please help me, i have this idea, but i am new to .net and i have no idea what to do
Thank you