Modify a regular expression (RegEx)
- Last UpdatedApr 24, 2025
- 1 minute read
You can modify an existing regular expression (RegEx) by creating a modified version of the original XML file.
To modify a Regex
-
Navigate to the following directory:
%DNADataRoot%\ADE\config\ADE\Regex
-
Create a modified version of the original XML file.
If the original file is named ADERegex.xml, name the modified version of the file ADERegex.Alter.xml.
-
Within the file, change ADERegexSchema.xsd to ADERegexSchemaAlter.xsd.
-
Insert the one, and only the one, RegEx that you want to change into the ADERegex.Alter.xml file.
-
Maintain the Name attribute within the file.
Notes: The Extension and Description attributes are optional.
You can add more than one FieldPlugIn element to a Field element to perform a different type of checking.The structure of the file should be as follows:
<Field
Name="flag_@realarmTime"
.
.
DisplayWidthToUse="Minimum">
<FieldPlugIn Name="ValidationRegexField" Args = "PositiveIntegerNumber" />
<FieldPlugIn Name="CompareValuesField" Args="< 256" />
</Field>
-
Close all sessions of the Advanced Database Editor (ADE) currently running on the machine.
-
Restart ADE.