Skip to main content

Replace in Text (Regex)

REPLACE_TEXT_REGEX

Replaces text in a string using a regular expression.

Parameters

  • text (String): The source text
  • pattern (String): The REGEX pattern
  • replacement (String): The replacement text

Returns

The replaced text