Skip to main content

msgpart:body_replace

Last updated March 2020

Name

msgpart:body_replace — Streaming interface to a PCRE replacement of a message body part (minus headers)

Synopsis

msgpart:body_replace(pattern, replacement);

pattern: string
replacement: string

Description

Streaming interface to a PCRE replacement of a message body part (minus headers).

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

Was this page helpful?