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 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: 8 This week: 8All time: 10,050 This week: 45Up
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
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:8
This week:8
All time:10,050
This week:45Up

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