How It Works
Bad words filtering in Kentico lets you define which words (technically any text strings) are considered to be unwanted on your website. Once a user tries to input some text containing one of the expressions, a pre-defined action is performed.
Filtering All Across Your Website
Bad words filtering is applied to:
Choose What Happens On Detection
You can choose what happens once a bad word is detected in user input:
- remove the word from text without any replacement
- replace the word with a pre-defined substitution
- create an abuse report
- submit the input to approval before it is published
- deny input and display a warning message
Action configuration can be performed separately per each bad word. You can even combine multiple actions on detection of a single bad word.
Support of Regular Expressions
Besides defining bad words as plain text strings, it is also possible to define them as regular expressions. Regular expressions take the usability of bad words filtering to yet another level, giving developers the possiblity to search for patterns within user input text.