Can regex be used in the file name match in a response rule
Last Updated January 31, 2019
In Data Loss Prevention, for a response rule, can you use a regex expression in the file name under the "File Properties" - "Message Attachment or File Name Match" condition.
No, regex is not supported. For file name matching, the system supports the DOS pattern matching syntax to detect file names, including wild cards. Any characters you enter (other than the DOS operators) match exactly. To enter multiple file names, enter them as comma separated values or by line space.
The following operators are allowed in the file name:
. - Use a dot to separate the file name and the extension.
* - Use an asterisk as a wild card to match any number of characters (including none).
? - Use a question mark to match a single character.