12-18-2017 01:06 AM - edited 03-08-2019 07:29 PM
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
Solved! Go to Solution.
12-18-2017 06:13 AM
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
12-18-2017 06:13 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide