Glad to help. 

-----Original Message-----
From: Rick Sanders [mailto:c...@webenergy.ca] 
Sent: Tuesday, July 20, 2010 11:40 AM
To: cf-talk
Subject: RE: Extracting part of a string


Thank you Andy, this was most helpful!

-----Original Message-----
From: Andy Matthews [mailto:li...@commadelimited.com]
Sent: Tuesday, July 20, 2010 11:49 AM
To: cf-talk
Subject: RE: Extracting part of a string


Assuming there's nothing more to your search, then this regex would do you
fine:

\[y\](.+)\[/y\] 

-----Original Message-----
From: Rick Sanders [mailto:c...@webenergy.ca] 
Sent: Tuesday, July 20, 2010 9:23 AM
To: cf-talk
Subject: Extracting part of a string


Hey All,

 

What I need is simple, but I'm struggling with how to do it. I want to
extract everything between [y] and [/y] example:

[y] http://www.youtube.com/watch?v=uBV00ZGkRJ0[/y]

 

I just want to extract the URL between the opening and closing y tags.

 

Thanks!

 

Rick Sanders

www.webenergy.ca

 










~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335555
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to