Issue:
How do I stop our e-mail domain showing in the results for e-mail records?
Solution:
Excluding a domain from the EMAIL rule.
A common scenario is that an organization would like to match all e-mail addresses in a document whilst excluding their own domain.
You can achieve this by editing the EMAIL rule.
- Edit the configuration
- Edit the rules
- Edit the EMAIL rule
The pattern below is the regular expression that captures all email addressed
\w+@(?!excluded.com)(\w+\.\w+(\.\w+)?)
(4) Replace excluded\.com with the domain that you wish to be excluded from the scanning results for example contoso\.com or yourdomain.\co\.uk