Hi,
I am using a Regular Expression "([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" to validate URL. But when i enter website in textBox as ww.gmail.com then its not give error message. There is any Regular Expression that validate only and only "www.gmail.com" otherwise show error message.
Please help me
Thanks
Pankaj
Regular Expression for URL
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Dec 26, 2009, 9:50 PM EST
\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|$!:,.;]*[A-Z0-9+&@#/%=~_|$]