I've gone through all possible ways for having the regular expression for the url validation, but I didn't get any.. what I need is the url can be like
google.com
http://google.com
https://google.com
http://www.google.com
https://www.google.com
but it should not allow if it is just google
finally the thing is the .extensions
are mandatory
I've tried this /^[a-z0-9-]+(.[a-z0-9-]*)(.[a-z0-9-]*)$/
can anyone help me in this case..