Is there a way in JavaScript to check if a string is a URL? RegExes are excluded because the URL is most likely written like stackoverflow; that is to say that it might not have a .com, www or http.