title: Regex for url make flexible begining
body: <p>How to modify the following regex pattern to make it without requiring http or https:</p>
  
  <pre><code>&lt;input type="url" 
   pattern="^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\:\'\/\\\+=&amp;amp;%\$#_]*)$"
   validationMessage="Enter a valid web url /&gt;
  </code></pre>
  
  <p>User just type into normal www. is ok, not require http:// or https://.</p>
  
  <p>I tried following, and typed into www.google.com, but not working.</p>
  
  <pre><code>pattern="^[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\:\'\/\\\+=&amp;amp;%\$#_]*)$"
  </code></pre>