Auto Tag Regex
A regular expression, or Regex, is a set of characters that define a search pattern. The regex can then be used to search for strings by matching the patterns.
Example of a regular expression for an email address
In Torch, you can add and save a set of regular expressions to make the discoverability of data easier. You can use the regex to find data that matches a regularly used pattern or format which may occur in a number of attributes. The regex must adhere to the PCRE standards.
Add a Regex
To add regex, do the following
Click the Auto Tag Regex tab.
Click Add Regex. The Create Regex wizard is displayed.
From the Create Regex wizard, enter the following details:
- Name: Name of the regular expression that you are creating.
- Description: Describe the purpose of the regular expression.
- Regex: Enter the correct regular expression.
Click the Enable/Disable toggle button to enable or disable the regex.
- Click Save.
Edit a Regex
To edit a regex, do the following
- Click the name of the regex. The Edit Regex wizard is displayed.
- Make changes to the description or regular expression.
- Click Save to save your changes or cancel to discard changes.
Delete a Regex
To delete a regex, do the following
- Click vertical ellipsis icon.
- Click Delete from the drop-down list. A confirmation pop-up dialog box is displayed.
- Click Ok.
The Tags tab displays a table with the following details.
|Name||Name of the regex|
|Created At||Date and time at which the regex was created|
|Updated At||Date and time at which the regex was updated|
|Auto Generated||if the tag was not auto generated. is displayed if the tag was auto generated.|
|Data Protection||Click to enable data protection for the respective regex.|