Class RegularExpressionFormatEntry
The Regular Expression masking format gives the flexibility to use regular expressions to search for sensitive data in a column of Large Object data type (LOB), and replace the data with a fixed string, fixed number, null value, or SQL expression. It can also be used for columns of VARCHAR2 type to mask parts of strings. To learn more, check Regular Expressions in the Data Safe documentation.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class RegularExpressionFormatEntry : FormatEntry
Properties
RegularExpression
Declaration
[Required(ErrorMessage = "RegularExpression is required.")]
[JsonProperty(PropertyName = "regularExpression")]
public string RegularExpression { get; set; }
Property Value
Type | Description |
---|---|
string | The pattern that should be used to search for data. |
Remarks
Required
ReplaceWith
Declaration
[Required(ErrorMessage = "ReplaceWith is required.")]
[JsonProperty(PropertyName = "replaceWith")]
public string ReplaceWith { get; set; }
Property Value
Type | Description |
---|---|
string | The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression. |
Remarks
Required