I am trying to parse data from a very long html content. I am just pasting here the important part I am interested in:
Technical Details
<div class="content">
<ul style="list-style: disc; padding-left: 25px;">
<li>1920x1080 Full HD 60p/24p Recording w/7MP still image</li>
<li>32GB Flash Memory for up to 13 hours (LP mode) of HD recording</li>
<li>Project your videos on the go anywhere, anytime.</li>
<li>Wide Angle G lens to capture everything you want.</li>
<li>Back-illuminated "Exmor R" CMOS sensor for superb low-light video</li>
</ul>
<div id="technicalProductFeatures"></div>
I need to start parsing from :
<div class="content">
til
<ul
and then until
</ul>
I have tried following regex but it did not work:
Regex specsRegex = new Regex ("<div class=\"content\">[\\s]*<ul.[\\s]*</ul>");
this gives me nothing..
One other issue is sometimes it has a linebreak and sometimes not between initial div and ul tags like:
<div class="content">
<ul style="list-style: disc; padding-left: 25px;">
or
<div class="content">
<ul style="list-style: disc; padding-left: 25px;">
thanks for any help.