https://tutorial.eyehunts.com/js/url-validation-regex-javascript-example-code/
URL validation regex JavaScript | Example code