Understanding the Master Index Standardization Engine

replace

This rule checks the input value for a specific pattern. If the pattern is found, it is replaced by a new pattern. This rule only replaces the first instance it finds of the pattern. The syntax for replace is:


<replace regex="regex_pattern" replacement="regex_pattern"/>

The parameters for replace are:


Example 6 Sample replace Rule

The following sample tries to match the input value against “ST.”. If a match is found, the standardization engine replaces the value with “SAINT”.


<replace regex="ST\." replacement="SAINT"/>