Regular Expression Search/Replace

Follow

With this feature you have the option to re-format / replace the value that comes in before it goes out.  This is not to be confused with the Output Format feature we have against fields on a delivery (which is limited).

The Regular Expression feature is an advanced feature that should be used if you have knowledge experience with Regular Expressions, specifically Patterns and Replacements.  We use this PHP Function: https://www.php.net/manual/en/function.preg-replace.php

System Area
This feature is found within your Delivery under the options button for the field

RegularExpression.gif

Example

Example Pattern
^([0-9]{1,5})([0-9]{1,3})([0-9]{1,3})$


Example Replacement

$1-$2-$3

Outcome
This number format 07879000194 would be delivered as 07879-000-194







Was this article helpful?
0 out of 0 found this helpful

Comments