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