Show / Hide Table of Contents

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.

Inheritance
object
FormatEntry
RegularExpressionFormatEntry
Inherited Members
FormatEntry.Description
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 or null value.

Remarks

Required

In this article
Back to top