regex_replace
Applies a regular expression operation on the input. This filter accepts two input values: one is the pattern, the second is the replacement.
Example:
<$mt:EntryTitle regex_replace="/\s*\[.+?\]\s*$/",""$>
This would strip any bracketed phrase from the end of the entry title field.

Dan Wolfgang
June 5, 2009 2:00 PM | Reply
Note that the "g" global modifier is valid here, which will find all occurrences, not just one. Extending the above example:
Beau Smith
June 23, 2009 9:43 PM | Reply
List entry categories if their label is within the set Explore, Savor, Inside, Offbeat, or Celebrate and then glue them with ", ". (The regex_replace modifiers remove extra glue from beginning, end, and between categories that don't match the if statement)
This is only here as an example, a much better solution would be to use mt:SevVarBlock with function="push" attribute and then output with mt:Loop