Replace Bad words using Regex

后端 未结 4 1430
小蘑菇
小蘑菇 2021-01-11 14:32

I am trying to create a bad word filter method that I can call before every insert and update to check the string for any bad words and replace with \"[Censored]\".

4条回答
提交回复
热议问题