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
3 Answers, 1 is accepted
0
Eric Lawrence
Telerik team
answered on 27 Oct 2014, 03:47 PM
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.