> For the complete documentation index, see [llms.txt](https://changelog.matrixemulator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.matrixemulator.com/welcome/server/muserver/data/util/filter.md).

# Filter

<mark style="color:green;">List of censored words/phrases in the chat — any segment of a message containing one of these terms is replaced with asterisks.</mark>

```
//Label
"word or phrase to censor"
"another word"
end
```

### <mark style="color:yellow;">Notes</mark>

* The search is case-insensitive and does not require the term to be an isolated word — if the typed text contains the sequence of characters in any position (even inside another word), it is replaced with asterisks (`*` repeated to match the exact length of the found term).
* This applies to both public chat and whispers — it does not block the message from being sent, it only masks the flagged segment.
