Hi,
I need to parse some html that contains the comments: <!-- Start Display
---> and <!-- End Display ---> . I need to capture all the HTML between
these comments. I started with: r = New Regex("Start Display --->(.*)<!--
End Display --->") but it didn't seem to match anything. I also tried using
the Substring function in the string library but it didn't match the first
comment for some reason ie strTemp.IndexOf ("<!-- Start Display --->")
always returned -1 (and I double checked that the text actually existed in
the html).
Can anyone point me in the right direction?
I also need to remove all input buttons on the page. Is there an easy way
to do this?
Thanks in advance for your help
I need to parse some html that contains the comments: <!-- Start Display
---> and <!-- End Display ---> . I need to capture all the HTML between
these comments. I started with: r = New Regex("Start Display --->(.*)<!--
End Display --->") but it didn't seem to match anything. I also tried using
the Substring function in the string library but it didn't match the first
comment for some reason ie strTemp.IndexOf ("<!-- Start Display --->")
always returned -1 (and I double checked that the text actually existed in
the html).
Can anyone point me in the right direction?
I also need to remove all input buttons on the page. Is there an easy way
to do this?
Thanks in advance for your help