This would probably be a good question to post on an ASP list.
In ASP, you'll need at least VBScript 5.0 to use Regex. I'm not sure
how to do it in old ASP, as I'm only doing ASP.NET and C# development,
but this link should help you get started:
http://msdn.microsoft.com/library/default.asp?URL=/library/en-us/dnclinic/html/scripting051099.asp
-joe
On Tue, 26 Oct 2004 08:16:39 -0400, cf coder
<[EMAIL PROTECTED]> wrote:
> function GetCommentsWrapper(txt){
> if(REFindNoCase("<(newLog|legacyLog)\b[^>]*>",txt))
> return GetCommentsNew(txt);
> else return GetComments(txt);
> }
>
> I want to display everything between the opening <newLog> or <legacyLog> tag and the
> closing </newLog> or </legacyLog> tag. The above function works, but I'm trying to
> re-write the code in
> ASP. I tried this but it does not work
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182593
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54