• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Replace content within post, signature, conversation?

semprot

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

Thank you :)
 

semprot

Active member
#3
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: