Skip to main content
Replace every phone number and email address inside a free-form string with its sanitized form. Used to scrub Error.message values before attaching them to span status.

Parameters

string
required

Returns

string