Item Property Replace

Valve that replaces the value, or part of the value, of an item property.

Replacement can be performed using tokens (substrings) or regular expressions.

If no token or regex is provided, the entire value will be replaced.

Valve can also create a new property containing the result of the replacement.

If a property contains multiple values, each value will be processed individually.

Configuration

Valve name: ItemPropertyReplace

Name
Description
Default value
Mandatory
Expanded

src

Name of property to replace

dest

Destination property of result. When supplied, src will not be modified.

token

Token (substring) in src to replace. Can match/replace one or more parts of the value.

regex

Regex matching part of src to replace. Can match/replace one or more parts of the value.

replacement

Replacement value. If not specified, no replacement vill be performed. Note: empty string ("") is a valid replacement.