Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
IcrediBB Bulletin Board System 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Binary MLM Plan 1.0.2
MLM Software ONE 1.5.46
Azizi search engine script PHP 4.1.10
Vue Injector 3.3
Answers phpSoftPro 3.12
Ticket Booking Software – PHP Scripts mall 1.0.2
ActivePerl 5.8.4.810/5.6.1.638
Wine Glass 1.0
Ping Pong Game Code Script 1.1
GBAconv rc
Low Pass Butterworth Filter 1.0
MLM Forced Matrix Plan Software 1.0.2
The Shakespeare Programming Language 1.0
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
Replacing bad words in a string 
File ID: 25016






Replacing bad words in a string 
Download Replacing bad words in a stringhttp://www.devcity.net/net/article.aspx?alias=codedom_1Report Error Link
License: Freeware
Downloads: 196
Submit Rating:
Replacing bad words in a string  Description
Description: Bad words in the text fields of a comment form or other ASP forms can be detected and can be removed / replaced with the new words is explained with two little snippets from which you can obtain the required array string functions and their parameters with their functioning format. Tells how to replace a bad word with it's first letter and with '*' characters for the rest letters.

License: Freeware

Downloads: 196



More Similar Code

Very often we need to look for the occurence of words in a string or group of words. We rely on regular expressions for such operations. A very common requirement is to look for the occurence of certain words in a paragraph or string. We can group the occurence by boolean operators AND, OR and NOT, allowing to search for certain words using boolean logic.

This class is created to do exactly that. It wraps up a
complex boolean...



A hack to quickly replace multiple
characters/strings in a string with
characters from another string.



You want to reverse the characters or words of a string.



This script converts carriage returns in a string to the tag so that the input can be properly displayed in HTML.

Without the script, returns in an input field are not preserved when submitting in a form. It is useful for guestbooks or...



This script displays a few words in a form field and when focus is given to the field, the words will disappear.

It can be used for providing instructions for fill in a form.



Converts binary data of any format in a string to floating point decimal of a defined fraction size.

The "intsize" input parameter defines the size of the exponent and sets the fixed point location in the binary number. se...



Counts the total number of words in all posts or the number of words in a single post.

Installation :

1. Upload post-word-count.php to the /wp-content/plugins/ directory
2. Activate the plugin through the 'Plugins'...



Counts the words in a text file. It also lets you know how many times Luigi is in your text.



You want to convert tabs in a string to the appropriate number of spaces, or vice versa.



TEXWORDCOUNT Count words in a TeX/LaTeX file and its subfiles

SYNTAX

WORD_COUNT = texwordcount(FILENAME)
WORD_COUNT = texwordcount(FILENAME,TEXCOUNT_PATH)

DESCRIPTION

WORD_COUNT =...

User Review for Replacing bad words in a string
- required fields
     

Please enter text on the image