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