How do I extract text from a HTML page?
This is a discussion on ?
Within the C# Programming forums, part of the General Programming Boards category; This is a general question. I have a simple HTML page, a text file, and a list of .
This is a general question. I have a simple HTML page, a text file, and a list of words. What is the most efficient way to determine if any of the words in the list exist in the html page? The words can be in any order and may or may not be on the same line.
Thanks for the advice. I've tried that, but no luck. It's like some text is getting cut off before the end of the table or something. So I'm wondering if there is a better way.
Here is the relevant code: Code: namespace TextTest Console.Read(); } } } } And here is the html page:
| Name | Count |
|---|---|
| The Cat in the Hat | 20 |
| The Very Hungry Caterpillar | 5 |
| Green Eggs and Ham | 12 |
| Dog Days | 3 |