Ikonne, Ike wrote:

Hi Steffen,

Thanks, new URL(url) doesn't work consistently. I have tried it, one can throw in an url that doesn't meet RFC 1738 but URL(url) will
not catch it.


You could try regular expressions.

Here is a relatively simple one:
(?:ftp\:\\\\|http\:\\\\|mailto\:\\\\)?(\w+\@)?(www\.)?\w+(\.\w+)+(\:\d+)?

--
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    [EMAIL PROTECTED]



Reply via email to