ValidationExpression Property

Gets or sets a regex that can be used to validate the input

Syntax

public string ValidationExpression { get; set; }

Remarks

ValidatePatternAttribute in PowerShell