Avatar of smares323
smares323
 asked on

Coldfusion 9 find web address in string and change it to html hyperlink

Coldfusion 9 find web address in text string and change it to html hyperlink.
ColdFusion LanguageRegular ExpressionsJavaScript

Avatar of undefined
Last Comment
Coast Line

8/22/2022 - Mon
_agx_

Can you give an example of the actual "string" and the expected output?
smares323

ASKER
smares323

ASKER
coldfusion findnocase web address in text string and replace with <a href="web address">web address</a>
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
_agx_

Right, but are you searching for only "http://www.google.com" - or do you want to find any URL, like find "http://http://www.experts-exchange.com/", http://bing.com, etc... ? If you're trying to find any URL, you'll need to use a Regex. That's which not my area of expertise.  

Not sure if you can modify the question to add topics. If not, submit a "Request for Attention" and ask a moderator to add the regex topic to the question.
smares323

ASKER
Find any url in the text string,
_agx_

Ok.  Unfortunately, regex's aren't my strong suit.  I submitted a "Request for a Attention" and asked the mods to add that zone to your question to attract answers from a regex expert.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Coast Line

you can try this:

http://www.cflib.org/udf/activateurl

this is what exactly you want
Coast Line

do read the comments also, regex option is also provided
smares323

ASKER
None of the examples are working.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
Coast Line

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.