replace-regexpでlisp表現が使用可能です。
-- 
BOFH excuse #312:

incompatible bit-registration operators