News for hackers. Stuff that matters.
Re:Show HN: No-swears – remove swear words from JavaScript s... by eesmith on Tuesday January 02, 2018 @04:28PM (#16055868)
There is no easy solution. Look at that TVTropes page for a long list of failure cases.

This approach is at least 20 years old. Others have worked on it. Try investigating one or more of https://github.com/topics/profanity .

There are no comments on this comment yet.