Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
300 Points
75 Posts
Jan 24, 2012 11:41 AM|LINK
It would probably be a good idea to keep the
www 's intact in order to preserve the sub-domain. A regex pattern like this: ^([a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+.*)$
^([a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+.*)$
would match a URL that is not prefixed by a protocol (
http://
https://
ftp://
eprovidere
Member
300 Points
75 Posts
Re: Regular expression for Validating URL with or without http
Jan 24, 2012 11:41 AM|LINK
It would probably be a good idea to keep the
would match a URL that is not prefixed by a protocol (
,,,etc). </div>