• Word Sensoring is an Application needed by Most of web Programmers,So a small application to illustrate it.
  • We can use this application/module to avoid bad comments in public forum.
  • We create two arrays named find & replace.
  • We add the words to be sensored in the find array.
  • The Replacement words are given in the replace array.
  • The function we use to replace is str_ireplace();
    • It takes in three arguments
      1. The word to be found.
      2. The word to be replaced.
      3. The User Input to search and replace.


  • The Script is given below




  • The Screenshot is given below:





  • When the user clicks on the submit button it changes to:



  • Click below to download the Script and to view 'Live Demo'



Thank u for reading this Article hope it was useful !


Sathesh Bm

About Sathesh Bm

Sathesh Bm has written 26 post in this website.

Engineer, Web Lover, Thinker, Blogger

Related Posts Plugin for WordPress, Blogger...