You are here

Filter subject keywords setting for Smart Matching decoded

In Microsoft Dynamics CRM, tracked e-mails can be linked to the appropriate records using a Tracking Token or Smart Matching. Smart Matching matches e-mails to records based on similar recipients and subject lines. However, noise words such as FW: and RE: in the subject line are ignored.

The Filter subject keywords setting (on the E-mail tab in System Settings) controls the noise words that are ignored. In a new installation the value for Filter subject keywords is ^[\s]*([\w]+\s?:[\s]*)+

But what does this mean? Well, here is my understanding, knowing that the value is a regular expression is the key. Each portion of the value matches characters as shown in the following table.

Value Portion Matches
^[\s]*([\w]+\s?:[\s]*)+ ^
Start of line
Zero or more spaces or tabs
( ... )+
match the part inside the parentheses one or more times
One or more 'word' characters (letters, digits, underscore)
zero or one space characters
A literal colon
zero or more spaces or tabs

The result is that multiple words that end in colons at the start of the subject line are ignored. So the following (in the subject line) are ignored for smart matching:


RE :


FW: FW :

But multiple words before a colon, such as Out of Office: are not ignored.




CRM Topics: