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

Strip Attachment by File info

Fadi Najjar
Level 1
Level 1

im trying to create content filter to strip attachments with certain types

im using GUI

use action 'Strip Attachment by File Info' -> 'Filename"' -> 'end with'

my question how to include multiple files extensions in the 'end with' field

i.e .aaa,.bbb,.ccc

 

please GUI only not CI

1 Accepted Solution

Accepted Solutions

Libin Varghese
Cisco Employee
Cisco Employee

Hi Fadi,

 

Content filter conditions support regular expressions so you can create and test one as per your requirement using websites such as regex101.com.

 

For example:

(?i)\.(aaa|bbb|ccc|ddd|eee)

 

(?i) - used to make the pattern case insensitive.

\. - Used to match "." literally.

(aaa|bbb|ccc|ddd|eee) - Patterns to be matched separated by or (|) operator.

 

Regards,

Libin Varghese

View solution in original post

1 Reply 1

Libin Varghese
Cisco Employee
Cisco Employee

Hi Fadi,

 

Content filter conditions support regular expressions so you can create and test one as per your requirement using websites such as regex101.com.

 

For example:

(?i)\.(aaa|bbb|ccc|ddd|eee)

 

(?i) - used to make the pattern case insensitive.

\. - Used to match "." literally.

(aaa|bbb|ccc|ddd|eee) - Patterns to be matched separated by or (|) operator.

 

Regards,

Libin Varghese