Hello
If anyone can help me with this I would greatly appreciate it.
I have a web form which can take a URL in three formats -
http://www.domain.com/Profile.jsp?MI...erId=500306117
http://user.domain.com/
http://www.domain.com/user
I would like to be able to check to make sure the domain was entered in the above formats. The regular expression should be forgiving, for example if the http:// or http://www. was not entered, or if http://user.domain.com/ or http://user.domain.com (note the lack of trailing slash) was entered.
Do any of you know how to do this?
Maybe it's very difficult...
Thanks for reading, and thanks in advance to anyone who can provide assitance.
Cheers.