cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
649
Views
0
Helpful
1
Replies

REGEX Decipher

Bighead81
Level 1
Level 1

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

"(?¡)\\[Abcde\\].*"

 

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

1 Reply 1

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:

[abcde]
[ABCDE]
[aBcDe]

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:

http://www.regxlib.com/CheatSheet.aspx

I hope this helps!  :)
- Jackie