regular expressions in replacement pattern

scedwar - April 17, 2008 - 14:19
Project:Wordfilter
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using the wordfilter to filter out expletives and swear words. However, I don't want to completely replace the word, for example I would like to replace the (most offensive) word "cabbages" with "ca**ages".

Currently, this can only be done for each word individually - a laborious process that could easily be solved by a regular expression.

Would this be possible?

#1

jaydub - November 16, 2008 - 14:46

I haven't checked it out myself but http://drupal.org/project/customfilter could be what you are looking for.

 
 

Drupal is a registered trademark of Dries Buytaert.