type.inbound
and any(attachments,
(.file_extension in~ ("xls"))
and any(file.explode(.),
any(.scan.strings.strings,
strings.contains(.,
'The information contained in this transmission and its attachments (an "e-communication") are intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential, proprietary and/or otherwise protected by work product immunity or other legal rules.'
)
)
)
)
Playground
Test against your own EMLs or sample data.