msgpart:text_replace

March 26, 2020

Name

msgpart:text_replace — Streaming interface to a PCRE replacement of textual content from the message body parts

Synopsis

msgpart:text_replace(pattern, replacement);

pattern: string
replacement: string

Description

Streaming interface to PCRE replacement of textual content from the message body parts. Only parts that have a ‘text’ mime type will be included in the search.

Enable this function with the statement require('msys.extended.message');.