Skip to main content

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');.

Was this page helpful?