Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

REGEX Decipher

I have been giving this regex code but for cannot decipher what it means



Has been applied to outgoing mail policy - conditions as a subject header - contains. Any ideas.

  • Email Security
Cisco Employee

I understand you need

I understand you need information on what this RegEx string will match against.  Here is a breakdown:

- The (?i) means 'case insensitive'.
- The \\ characters make the [ and ] characters literal.
- Abcde has no special meaning - it is treated literally be default.

So this string is looking for Subjects that contain strings similar to these:


I do not know if any use case where one would search for that particular phrasing.  However, this style of filter is very common for CRES Encryption setups.  If that is the use case here, you will want to make sure that the text matches what your users are told to add to their Subjects when they desire Encryption.

BTW, here is a great RegEx reference:

I hope this helps!  :)
- Jackie