private bool IsURLValid() { Match match = UrlRegex.Match(_url.Text); if (!match.Success) { return false; } return true; }