URL validator with tests

Published on Tue Mar 01 2022

inspired by https://mathiasbynens.be/demo/url-regex and the pattern from @imme_emosol