Return whether input matches regex of url.
static bool isURL(String input) { return matches(regexUrl, input); }