Get text between <span> tag RRS feed

  • Question

  • Hi.

    I want to get text between <span class="entry-content"> </span> html tags using HtmlAgilityPack..

    I searched for this everywhere I know. But I couldn't fine a way. Most of codes contains some classes that HtmlAgilityPack latest version doesn't has. Even in the Codeplex. How to do this easily ?


    Wednesday, February 12, 2014 2:51 PM


  • I'm thinking regex would work in this case.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    • Marked as answer by string Astro Thursday, February 13, 2014 3:37 PM
    Wednesday, February 12, 2014 8:37 PM