Hey all,
Anyone have a good regular expression for matching a URL? I have a display that takes info entered into a database and formats it for display, but I want to replace the emails with links and the URLs with links. I have an email one, but am having trouble with the URL one. Any help is super-appreciated. Thanks!
so far the email one is this:
[a-z0-9-]+(.[a-z0-9-]+)@[a-z0-9-]+(.[a-z0-9-]+)$
would the URL one simply be the above without the '@'?