Hi,
I've search the forums and elsewhere on the web, but can anyone think of a good way to match a url that may or may not have been entered with http:// www. etc?
I'm thinking the way to do it is to look for the domain extension and then work back from there ( although I'd be after the full link not just the domain
This is for a user form that's not specifically tied to being a url, it's just a chunk of text, but I want to extract all potential links from it in theory.
If anyone knows anything off hand that would be great. Otherwise an insight into the best way to approach the matching would be appreciated
(I am willing to try the regex by myself first but thought I'd see if any one had good ideas on good way to start this match)
Thanks
T