Workaround for “Ends With” - Suppressing Top-Level Email Domains

Not applicable

Sometimes you want to be able to suppress certain top-level email domains from your communications. If you aren’t suppressing the entire domain ( and you just want to suppress something like .it (all Italian domains), it’s challenging to do this since Marketo does not have an ‘ends with’ filter.

One of my customers needed to blacklist all military email addresses, ending in .mil. However, I wanted to make sure we didn’t also blacklist people who just happened to have .mil in their email address, like My solution was to suppress people whose email domains contained .mil but did not contain .mil with any letter or character after it: