1
Answer

Regular Expression for URL

Cien S

Cien S

14y
2.3k
1
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
Answers (1)