Replacement Rules can be an extremely powerful tool for performing automatic error correction, especially to correct errors that may arise from free-text user inputs.
For example, it's common for users to add an extra space at the end of a sentence that you don't want to include in the document. Similarly, a user may add a full-stop at the end of a sentence when you already have a full-stop added after the merge field in the document, in which case you don't want both full-stops to be included in the final document.
The following image shows an example where a double full-stop may arise:
Standard Set of Replacement Rules for Error Correction
We have developed a standard set of Replacement Rules that is designed to correct errors that can commonly arise from free-text user inputs. This set of Replacement Rules is added into new forms. The standard set is shown in the following image, which highlights the rule that will replace a double full-stop with a single full-stop: