public override ValidationResult Validate(object value, System.Globalization.CultureInfo cultureInfo) { Regex r = new Regex(@"^(?<Protocol>\w+):\/\/(?<Domain>[\w@][\w.:@]+)\/?[\w\.?=%&=\-@/$,]*$"); while (r.Match(value.ToString()).Success) { return new ValidationResult(true, null); } return new ValidationResult(false, LanguageManager.Model.Error); }