Create a rule to blacklist certain queries


A financial customer would like to blacklist all the queries with more than two digits. This is because sometimes users write their account number on the search bar by mistake multiple times. As a result, the search bar can prompt an account number as a possible query.
Is it possible to create a formula for the blacklisted queries to specify that every time we have more than 2 digits, the query should be blacklisted?

Thank you!


Hi! Bringing this question up as we still didn’t find a solution and we were wondering if someone had a similar usecase!