jbonnett Posted July 5, 2012 Share Posted July 5, 2012 I'm looking for some code that finds a link from a string like Facebook does like if I put "WOW check out this website http://www.website.com/ it's brilliant!" and only extracts http://www.website.com/. Link to comment https://forums.phpfreaks.com/topic/265223-finding-link-from-a-_post/ Share on other sites More sharing options...
requinix Posted July 5, 2012 Share Posted July 5, 2012 Google is always a good place to start looking. Look for articles and tutorials and stuff too. And you probably don't want to focus on the whole "like Facebook does" thing: it has nothing to do with that. Link to comment https://forums.phpfreaks.com/topic/265223-finding-link-from-a-_post/#findComment-1359257 Share on other sites More sharing options...
scootstah Posted July 5, 2012 Share Posted July 5, 2012 Make sure you take a look at this article: http://www.codinghorror.com/blog/2008/10/the-problem-with-urls.html Link to comment https://forums.phpfreaks.com/topic/265223-finding-link-from-a-_post/#findComment-1359313 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.