Gmail attachment Upload

Using the latest server and version. All exit points selected. Predefined content and regex for a 12 digit id selected. policy should block. clipboard blocks it successfuly but in gmail web attachment dont get blocked. But for another regex both worked.

this regex worked for both clipboard and gmail attachment
(?i)\b[A-Z]{5}[0-9]{4}[A-Z]\b

this one worked only for clipboard but passes on gmail upload
\b[0-9]{4}[-\s]?[0-9]{4}[-\s]?[0-9]{4}\b