REReplace

Uses a regular expression (RE) to search a string for a string pattern and replace it with another. The search is case-sensitive.

Returns: string

Usage

REReplace( string, reg_expression, substring [, scope ] )

Arguments

Argument Description Default
string
(string, required)

String within which to search.

reg_expression
(string, required)

Regular expression to replace.

substring
(string, required)

replacement

scope
(string, optional)
  • one (default): Replace the first occurrence of the regular expression.
  • all: Replace all occurrences of the regular expression.

one

Examples

There are currently no examples for this function.

See also