msg:text_replace — Streaming interface to a PCRE replacement of textual content from the message body
pattern: string replacement: string
Streaming interface to a PCRE replacement of textual content from the message body. Only parts that have a ‘text’ mime type will be included in the search. Text parts will be iterated, transfer decoded and converted to UTF-8. If a replacement is made, the revised text is converted back to the original charset for that part and the original transfer encoding applied, except in the case where the content was originally 7-bit clean and had no transfer encoding: if the replacement content is not 7-bit clean, transfer encoding will be added.
Enable this function with the statement