@showlink1 There is at least one plugin that is an example of how to censor posts: https://github.com/ninenine/nodebb-plugin-beep
Regular expressions could be used to find offensive words or phrases, but using them wouldn't necessarily be better than a flat list of words to censor. Using regex in practice for this task would actually probably be worse, because of the overhead of having to know how to construct and modify regexes, which can quickly become nontrivial.