4 Replies Latest reply on Mar 10, 2008 12:52 PM by ACS LLC

    Hyperlinking a block of text

    ACS LLC Level 1
      I have a block of text that I retrieve from the sql dbase. I then need to display this on the site. However, what I need to do is search for any hyperlinks, which could be defined by strings that start with HTTP:// and then replace them with <A href="THELINK">THELINK</a>, so that the links all hyperlink when displayed.

      There will be multiple links in one block of text.

      Does anybody have any code that code take care of this? I guess replacenocase will come into place somehow