Not sure if that isn't too open, also I'm pretty sure we have more advanced URL parsing Regexes floating around. Another validation method could be to check whether `URI.parse` can parse the input string and if `.scheme` one the resulting object is http or https.