
Drupal provides a number of contributed modules to filter the text in comments. One of the most notable examples of such a module is Mollom which can be used to filter out spam comments from genuine ones in a Drupal site. However if we need an extra level of control over the filtering options, we need to write a custom module. Read on to know how to filter the text n the comments in a Drupal website