CFTALK.COM>



Login  |  Register

Advanced Regex in CF?

Anonymous
Guest
Apr 23, 2006
8:53 AM
Hi There,

Was wondering if anyone knew how to do the following in CF using a Regex:

Find %INCLUDE="random string here"% (or %INCLUDE="another string here"% or %INCLUDE="some text"% or %INCLUDE="whatever"%)

and pull out the "random string here" as a variable
and be able to replace the entire string with the value of another variable.

Any help much appreciated!

Best Wishes,
Peter

CFTalk :: Tip Of The Week :: Polls :: Book Of The Month :: CFStore
Another online store by CoyoteDirect.com  ~ Adventure Friendly