Article ID: 130516192

Detecting and modifying text patterns in email texts

Tags:  Microsoft Exchange  Microsoft SMTP  Wall

Using "regular expressions", you can not only detect text and character patterns in Email texts but also change them if required. This allows you to "anonymise" credit card numbers for example.

Step by Step
Q.Suite Wall Address Filtering Jobs

The ability to work with regular expressions in Email texts forms part of the iQ.Suite Wall Email Address Filtering jobs.

You will find the "Email Body" area in the "Regular Expressions" tab.

The search text is entered there under "Regular Expression".
Example: ([0-9]{4})\-([0-9]{4})\-([0-9]{4})\-([0-9]{4})
Do The function then searches for four blocks of numbers, each containing 4 numbers. These are separated by a hyphen.

Regular Expressions

The desired result is entered in the "Replacement Text" field.

Example: $1\-$2\-$3\-xxxx
In place of the four blocks of numbers, only the first three are visible. The last block is replaced with "xxxx".

For example, following editing with this job, "1234-1234-1234-1234" becomes "1234-1234-1234-xxxx"

Last updated: 13 May 2016

« Previous article Next article »

Rate it

0/5 stars (0 votes)
Detecting and modifying text patterns in email texts 0 5 0

Add a comment


Go back