Webbrowser control: Get text value from html text

Posted by Khou on Stack Overflow See other posts from Stack Overflow or by Khou
Published on 2010-03-26T16:02:44Z Indexed on 2010/03/26 23:33 UTC
Read the original article Hit count: 640

Filed under:
|
|

The web browser has the following displayed content, within a html table.

[Element]   [Value]
Name        John Smith
Email       [email protected]

We know that the value of the elements are on to the right of the element and they are both on the same line (this is how it appears on the screen but in the html code it might not appear like this).

How do you get the values of element name and element email? (first remove all html tag? then somehow use regular express to get the values? or figure out how to use html agility pack?)

© Stack Overflow or respective owner

Related posts about webbrowser-control

Related posts about c#