title: Validate the URL (if user use http:// https:// www)
body: <p>I want to validate URL and i need a function. So user can type HTTP://, HTTPS://, WWW or just facebook.com. I need to make sure that  everything works regardless of how they type it.</p>
  
  <p>some think like :</p>
  
  <pre><code>function ValidateUrl(url){
  
  return CorrectUrl;
  }
  </code></pre>
  
  <p>Thank's in advance :)</p>