Link to home
Start Free TrialLog in
Avatar of 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.
Avatar of _agx_
Flag of United States of America image

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


coldfusion findnocase web address in text string and replace with <a href="web address">web address</a>
Right, but are you searching for only "" - or do you want to find any URL, like find "http://",, 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.
Find any url in the text string,
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.
you can try this:

this is what exactly you want
do read the comments also, regex option is also provided
None of the examples are working.
Avatar of Coast Line
Coast Line
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial