RE: Grabbing stuff between 2 JavaScript comments, Help

2003-06-19 Thread Mark W. Breneman
I got it,  please disregard request for help.

#Mid(cfhttp.fileContent, Find("",
cfhttp.fileContent ), Find("", cfhttp.fileContent )-Find("", cfhttp.fileContent ))#

Unless there is a better way of doing this?

Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:38 AM
To: CF-Talk
Subject: Grabbing stuff between 2 JavaScript comments, Help


Drawing a blank on how to do this...

I am trying to grab all of the "stuff" (HTML and text) between two
JavaScript comments

This is test text



I thinking that I should be able to do with a regular expression, but the
correct code escapes me.

Anyone have an idea?

Thanks

Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Grabbing stuff between 2 JavaScript comments, Help

2003-06-19 Thread Mark W. Breneman
Drawing a blank on how to do this...

I am trying to grab all of the "stuff" (HTML and text) between two
JavaScript comments

This is test text



I thinking that I should be able to do with a regular expression, but the
correct code escapes me.

Anyone have an idea?

Thanks

Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4