In the OP example they are indeed removed.Jcart wrote:The words aren't removed, they are replaced with smurf.Mordred wrote:You need to repeat the filtering in a loop untill no more changes are made. Otherwise consider filtering the word "delete" from the string
"dedeletelete" (highlighted for clarity)
How to replace forbiden words in lowercase or uppercase
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
That's a smurfing shameMordred wrote:In the OP example they are indeed removed.Jcart wrote:The words aren't removed, they are replaced with smurf.Mordred wrote:You need to repeat the filtering in a loop untill no more changes are made. Otherwise consider filtering the word "delete" from the string
"dedeletelete" (highlighted for clarity)