Hi,
I am trying to come up with a JS regex that will include any intranet site (with the simple definition of any host name that does not include .
), but will exclude localhost
.
I've got the first part: http(s)?\:\/\/[^\.\/]+(\/.*)*
I am struggling with the second part. Any help would be appreciated.