Drupal is a registered trademark of Dries Buytaert
drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). geofield_map 11.1.9 Minor update available for module geofield_map (11.1.9). domain 3.0.0 Major update available for module domain (3.0.0). ai 1.2.15 Minor update available for module ai (1.2.15). ai 1.3.4 Minor update available for module ai (1.3.4). leaflet 10.4.7 Minor update available for module leaflet (10.4.7). chosen 5.0.5 Minor update available for module chosen (5.0.5).

customfilter

645 sites Security covered
View on drupal.org

Overview

This module allows you to create content filter using regular expressions. Instead of creating a new module for each filter you need, now you can easily create and organize your own filters. Your filter will appear in the input format configuration page.

For a description of the regular expression syntax, see PCRE regex syntax; for a description of the modifiers, see Possible modifiers in regex patterns. If you know the syntax used by Perl regular expressions, see Differences From Perl.

Please read thedocumentation where you can see some examples of how to use the module.

Features

Instead of creating a new filter module for every filter you need, you can use this module for tasks like creating your own tags, replacing token values and all changes you need in the text.
You can use simple replacements or use php code to write more powerfull things(like use it to highligth code with geshi).

Supported versions

- The 2.0.x works Drupal 8 and Drupal 9.
- The 3.0.x works with Drupal 11. I will remove support for earlier versions.

Other notes

Because the strings used for the description and the help text of the custom filters are dynamic (i.e., taken from a database table), it is not possible to translate them through t().

Activity

Total releases
1
First release
Apr 2026
Latest release
1 day ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
3.0.0-beta1 Pre-release Apr 30, 2026