Item Property Replace
Valve to replace the value, or a part of value, of an item-property.
Whole or parts of the value can be replaced either using token (substring) or regex replacements.
Valve can also create a new property containing the replacement result.
If a property has multiple values, all values will be processed.
Configuration
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 one or more parts of the value. If token
or regex
isn't specified, no replacement will be performed.
regex
Regex matching part of src to replace. Can match one or more parts of the value. If token
or regex
isn't specified, no replacement will be performed.
replacement
Replacement value. Note: empty string ("") is a valid replacement.
Last updated