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 Drupal 7-x-1.x is supported, but expect only fixes for it. All new development is going to Drupal 8.x version.
- Drupal 8 and Drupal 9 are supported. All new development belongs to those versions. Feel free to use the issue queue if needed.
- Migration from Drupal 6/7 to Drupal 8/9 is included in all 2.x releases.
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().
Project information
- Project categories: Content editing experience
653 sites report using this module
- Created by arhip on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.


