Replace content within post, signature, conversation?


Active member
How to do content replacement within post, signature, conversation?
I'd like to make my own regular expression to replace content.

Thank you :)


Active member
Permanently? Temporary? When is this occurring?
temporary is fine (which means if i disable the plugin code, all will go back to the original string).
But if it is permanent (which means the replacement happens before the content is saved to database), it is fine too.

It is a kind of "censoring" (which is replacing pre defined "bad words" by asterisks).
But i want to replace something (pre defined by regular experssion) to something else (not asterisks).

It occurs when it is viewed.
Last edited: