Detecting http:// in string

Results 1 to 2 of 2

Thread: Detecting http:// in string

  1. #1

    Default Detecting http:// in string

    Hi guys,<BR>I have created a very simple message board whereby members of my site can discuss various topics.<BR><BR>I have a question in regards to detecting &#039;http://&#039; within text entries. Id like to pick these up and automatically create a hyperlink which opens a new window pointing to the desired web address.<BR><BR>How is this done?<BR><BR>Thanks,<BR>John

  2. #2
    Join Date
    Dec 1969

    Default RE: Detecting http:// in string

    Here&#039;s a simple example.<BR><BR><BR>You&#039; d do well to use a more comprehensive RegEx pattern that the one in that post...I&#039;d suggest checking out some of the patterns available at which are much better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts