Advertisement

07.01.2008 at 07:07AM PDT, ID: 23530182 | Points: 500
[x]
Attachment Details

Make active hyperlinks; find and replace function

Asked by webressurs in Active Server Pages (ASP)

Tags:

I have a site that displays articles about webprogramming. To display the code (like html, css ++) correct I use Server.htmlencode like this:

varText = server.htmlencode(varText)
response.write(varText)

This works fine, but I have a problem. I want all valid hyperlinks in varText to be active links (user can click them), not shown as html markup. Doen anybody have a tip how to do this?


Start Free Trial
[+][-]07.01.2008 at 11:15AM PDT, ID: 21910151

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.01.2008 at 12:43PM PDT, ID: 21910901

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2008 at 01:23PM PDT, ID: 22010690

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628