picking out urls in a string

Results 1 to 2 of 2

Thread: picking out urls in a string

  1. #1
    Join Date
    Dec 1969

    Default picking out urls in a string

    Help,<BR><BR>I need to search through a string find any URL&#039;s in it and place html links tags around eg &#039;&#060;a href=&#039;www.blah.co.uk&#039;&#062;the string url&#060;/a&#062; the string then need to be put back together. There may be more than one url in a string<BR><BR>has any already written a function to do this?

  2. #2
    bmasters Guest

    Default RE: picking out urls in a string

    You may want to look into Regular Expressions, a powerful script function for string manipulation. Not enough room here to explain, but check out<BR><BR>http://www.4guysfromrolla.com/webtech/031500-1.shtml<BR>

Posting Permissions

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