Forum Moderators: open
I have a new question though that I'm sure someone has a solution for. I'm trying to create a "word scrubber" that will replace swear words with only the first and last letter and stars in the middle. So to keep the example clean, we'll pretend that the word 'luck' starts with an F...
"luck" or "l u c k" or "l.u.c.k" etc..
would be replaced with l**k
Is there any easy way to do this without having to guess every possible thing that someone might be trying to slip a bad word in?