| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. 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 |
|
|
|
|
|
|