$stringReplaceRegex
Replace something in the provided text using regular expressions.
Parameters
Name | Description | Enforced | Default Value |
---|---|---|---|
Text | The text to work with. | Yes | None |
Regex | The regular expression to be matched. | Yes | None |
Replacer | The word to replace the match with. | No | |
Flags | The flags for the regular expression. | No | g |
Example
Function Aliases
- $replaceWithRegex
- $replaceRegex
- $stringReplaceWithRegex