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 (23 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 89 This week: 2All time: 9,522 This week: 124Up
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: 23
All time rank: 328244 in Bangladesh Bangladesh
Week rank: 52 Up2 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:89
This week:2
All time:9,522
This week:124Up

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