>>Gregory Adam posted a RegEx expression you can use and which is bullet proof.
>
>It is not about a function that would be bullet proof. It just cannot be done because there are too many variations and no matter the logic that could be applied, there are always situations where this shouldn't be a link and where it should. This character shouldn't even be used at all in URL.
Alternative solution would be to have a button on the message toolbar that would allow to put URL and a title for it.
E.g. Insert URL button that will insert URL at the point where cursor is.
If it's not broken, fix it until it is.
My Blog