Find And Replace Action
This action permits to find and replace text in a language.
The action is configured as follows:
type | "FindAndReplace" | string, Mandatory |
locale | The language of the text to apply the operation to. | string, Mandatory |
mode | Specifies the mode of finding text:
| string, Mandatory |
pattern | The text to search. Depending on the mode this is either plain text, a wildcard expression or a regular expression. | string, Mandatory |
replaceWith | Text to replace the found occurrences of the pattern. | string, Mandatory |
enforceWordBreaks | Optional, default is true. If true then the pattern is expected to start and end at word boundaries. If the pattern is "hello" then it will find this word inside "I say hello." but not inside "I say helloworld". | |
ignoreCase | Optional, default is false. True: Ignore case when finding text pattern. False: Do not ignore lower/uppercase differences. | bool, Optional |