CKB:Examples of regular expressions used in Policy Rules
Aus Cryptshare Documentation
Applies to:
All versions of Cryptshare Server
Symptom:
Searching for more regex examples. Types of Policy Rules
Solution
Examples:
1. All except cryptshare.com
.*?@(?!(cryptshare\.com)).*;
2. All except freemail domains:
.*?@(?!(gmail\.com)|(gmx\.de)|(gmx\.net)).*;
3. All except jane.doe@cryptshare.com
^(?!jane\.doe@cryptshare\.com)(.*);
4. All except jane.doe@cryptshare.com, jana.doe@cryptshare.com and jano.doe@cryptshare.com
^(?!(jane\.doe@cryptshare\.com|jana\.doe@cryptshare\.com|jano\.doe@cryptshare\.com)).*;
5. All from crypshare.com except jane.doe@cryptshare.com, jana.doe@cryptshare.com and jano.doe@cryptshare.com
^(?!(jane\.doe@cryptshare\.com|jana\.doe@cryptshare\.com|jano\.doe@cryptshare\.com)).*?@cryptshare\.com;