ReReplace

Uses a regular expression (regex) to search a string for a string pattern and replace it with another.

The search is case-sensitive.

Method Signature

ReReplace(string=[string], regex=[string], substring=[string], scope=[string])

Arguments

ArgumentTypeRequiredDescriptionDefault

string

string

true

The string to search

regex

string

true

The regular expression to search for

substring

string

true

The string to replace regex with

scope

string

true

The scope to search in (one, all)

one

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC