This page was last edited on September 2, 2022, at 20:19.
Comments or questions about this documentation? Contact us for support!
The window that opens is titled either New Rule/Test Rule or Edit Rule/Test Rule, but in either case the fields and functionality are identical.
Note the following:
The right-hand pane of the edit/create window allows you to test a rule.
You can use Privacy Manager to write your own rules and test them, but Genesys also provides hard-coded rules that use the following regular expressions:
Name | Regular Expression |
---|---|
Credit Card (Visa and MasterCard only) | (?:^|(?<=[\D;a-zA-Z(),.:;?!"'`>]))(?:4\d{3}|5[1-5]\d{2}|6011|622[1-9]|64[4-9]\d|65\d{2})[ -.=\n\r]{0,10}\d{4}[ -.=\n\r]{0,10}\d{4}[ -.=\n\r]{0,10}\d{4}(?:$|(?=[\Da-zA-Z(),.:;?!"'`<= ])) |
Phone Number (North America) | (?:^|(?<=[\D;a-zA-Z(),.:;?!"'`>]))(?:\+?1[ -.=\n\r]{0,10})?(?:\(?[2-9][0-9]{2}\)?[ -.=\n\r]{0,10})?[2-9][0-9]{2}[ -.=\n\r]{0,10}[0-9]{4}(?:$|(?=[\Da-zA-Z(),.:;?!"'`<= ])) |
SSN (Social Security Number - U.S. only) | (?:^|(?<=[\D;a-zA-Z(),.:;?!"'`>]))(?!000|666|9)\d{3}[ -.=\n\r]{0,10}(?!00)\d{2}[ -.=\n\r]{0,10}(?!0000)\d{4}(?:$|(?=[\Da-zA-Z(),.:;?!"'`<= ])) |
To create a RegEx,
To edit a RegEx, click its Edit icon on the RegEx tab.
Testing RegExes works in the same way as testing rules.
You can export and import rule sets as JSON files. This is useful if you want to copy a rule set to another instance of Privacy Manager.
To export a rule set, click . Privacy Manager prepares the JSON file for export. Click Download to save the JSON file to your computer.
To import a rule set, click . Select a JSON file and click Import.
Privacy Manager does not overwrite existing rules when you import a rule set. For example, if you import a rule set and a rule name matches one that already exists, Privacy Manager appends Copy_1_of_ to the imported rule name (for example, Credit Card rule for Chat becomes Copy_1_of_Credit Card rule for Chat).
Genesys recommends that you observe the following limits: