views:

64

answers:

2

I want a regular expression for javascript to validate host address like

http://192.168.10.10:8089/
and
www.abc.com
and 
www.abc.com.aa
+1  A: 

Have you tried looking for it at Regular Expression Library?

Tomas Narros
A: 

Try this : http://regexlib.com/Search.aspx?k=URL

Pranay Rana