| | |
|
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Parsing a webpage for text |
From: |
Brian |
Date: |
6/28/2001 12:53:03 AM |
IP: |
192.124.16.226 |
Hello,
I have a webpage with two comments in it, and a variable amount of text between the two comments. I wish to have a separate asp page go to the html page, look for the begin and end comment, and give me the string in between in a variable. I have tried (for hours) to use mid, left, and Instr, but this is all new to me. The HTML page that I will be parsing looks like this:
<HTML>
(a whole slew of code...) <!-- BEGIN PARSING --> This is the code that I want my other page to get. The text in here changes quite freqeuntly, and is never the same amount of characters... <!-- END PARSING -->
(more code)
</HTML>
If anyone can help, I would greatly appreciate it.
Thanks,
Brian |
|
|
|
|
|
|