NullIsValid Property (RegularExpressionValidator)
Gets or sets whether the validation is always successful when the specified value is a null reference (Nothing in Visual Basic).
public bool NullIsValid {get; set;}
Property Value
true if the validation is always successful when the specified value is a null reference (
Nothing in Visual Basic); otherwise,
false. The default is
true.