Let's say there is a long-*ss paragraph, and some words in it are issues to copyright, so custom replacements are needed to all strings in p or spa...
For further actions, you may consider blocking this person and/or reporting abuse
Replace can take regex patterns.
This can happen on keyup.
I won't be providing any code sorry, but that's how you would solve it.
Yep, replace with regexp is the way to go.
duck.com is your friend.
thx!