Start » Filter Reference » Basic » String » RegexReplaceInString
Module: | FoundationLite |
---|
Replaces all matching occurrences of the pattern with a replacement string. Uses ECMAScript regular expression grammar (https://en.cppreference.com/w/cpp/regex/ecmascript).
Name | Type | Description | |
---|---|---|---|
inString | String | Input string | |
inRegex | String | Input regex | |
inIgnoreCase | Bool | Ignore case | |
inReplacement | String | Replacement string | |
outString | String | Output string |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty Regex on input in RegexReplaceInString. |
Complexity Level
This filter is available on Advanced Complexity Level.