You want to block a search term and prevent users from seeing related search results.
You can block a search term before the search engine returns results so that users receive an exception page. These steps apply to both both transparent and explicit proxy for HTTP traffic. For HTTPS traffic, the proxy must perform SSL interception.
<Proxy>
url.regex="sex[^a-zA-Z]" FORCE_DENY
Note: This policy blocks any search for the entire word “sex”, but not partial strings such as “sexual”, “sexy”. In addition to blocking the search for the word “sex”, policy blocks any other request that contain the term, such as links that contain the term "sex".