I am looking for regex for simple URLs as
http://www.google.com
http://www.yahoo.in
http://www.example.eu
http://www.example.net
- etc.
No subdirectories allowed. For example in this cases it must not validate http://www.google.com/
, http://www.yahoo.in/mail
.
Does anyone know any regex to do this?