This module adds regular expression (regex) actions to Rules. The idea is to allow site-builders to manipulate text data (especially from Feeds) without having to resort to PHP.
Specifically you can:
Find and replace text within a field, modifying it in place.
Find a pattern and generate a replacement, leaving the original text unmodified.
Match a regular expression against some text, getting access to all the sub-pattern matches.