Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracint various urls from a string

Status
Not open for further replies.

dinoviapangea

Technical User
Apr 9, 2002
41
US
I'm trying to extract a list of urls from a string, as below. I can use Find, but that only gives me the position of the first occurance. I need some code to grab the whole word/url of all occurances.

Any help would be appretiated

Sample String:

This is an example text file with various urls. Some sites are and ftp://ftp.microsoft.com.
 
Just realized that a coldfusion script/code is somewhat doing what I want above. Something is highlighting the urls. Any suggestions?

Thanks,
Dino
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top