PHP Bad Word Filter: Check string to detect and remove bad words

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-09-07 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 96 This week: 1All time: 9,498 This week: 358Up
Version License PHP version Categories
bad-words-filter 1.0Free To Use But R...5PHP 5, Text processing, Parsers
Description Author

This class can be used to check string to detect and remove bad words.

It provides several functions for evaluating the presence of words that can be considered offensive or rude and eventually remove those words. Currently it can:

- Check if a word is in the list of known bad words
- Get an array with a list of bad words
- Replace bad words in a string with another given string

Picture of Meraj-Ul Islam
Name: Meraj-Ul Islam <contact>
Classes: 3 packages by
Country: Bangladesh Bangladesh
Age: 24
All time rank: 322943 in Bangladesh Bangladesh
Week rank: 118 Up3 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file BadWordsFilter.php Class The class file
Accessible without login Plain text file example.php Example Examples of all functions

 Version Control Unique User Downloads Download Rankings  
 0%
Total:96
This week:1
All time:9,498
This week:358Up

For more information send a message to info at phpclasses dot org.