I may be wrong, but I think the only way to do this is to set up an External Action in the filter definition. That external action would be a utility that performs a search and replace on the message.
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.