David Carrdcblog.dev·Jun 4, 2013Detecting and replacing bad words in PHPUser submitted content should always be moderated before its used or outputted on a public website, any system however sophisticated won't be able to understand contexts of words. Having said that here's a simple way to detect words in a string that...170 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.