Is there a good HTML parser for Fiddler?

4 posts, 0 answers
  1. nasekt
    nasekt avatar
    40 posts
    Member since:
    Aug 2014

    Posted 26 Oct 2014 Link to this post

    <div class=.....SomeText.....</div><div class=.....SomeText_1.....</div>

    I want to  match only <div class=.....SomeText_1.....</div>

    I tried this <div\sclass=.*?SomeText_1.*?</div>, but it matches from the start.

    Any ideas?Is there a good HTML parser for Fiddler?

    Thank you
  2. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 27 Oct 2014 Link to this post

    As with many of your questions, this question isn't in any way Fiddler-specific. There are many libraries in .NET that allow you to parse HTML, including some that are a part of the .NET Framework as well as many 3rd party HTML parsers.  https://www.google.com/?gws_rd=ssl#q=.NET+Parse+HTML

    (Your regular expression matches more than you want because you use .* which will include the > character that ended the prior tag. You need to use something like [^>]* instead.)

    Regards,
    Eric Lawrence
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. ikas
    ikas avatar
    3 posts
    Member since:
    Feb 2015

    Posted 12 Feb 2015 Link to this post

    You could try HtmlAgilityPack.

    My post on how I used it with fiddler.
  4. Rene
    Rene avatar
    1 posts
    Member since:
    Jan 2016

    Posted 06 Jan Link to this post

    Could be useful this tool for fiddler http://microtesttools.blogspot.ie/2016/01/comparing-request-and-responses-from.html?m=1
Back to Top