Replace Utility
This utility allows you to replace an input with another value of your choice before passing it on to the next object. You can replace the input by matching on a string of text, a regular expression (regex) or when the workflow passes an empty input through.
Using the Replace Utility
Add the replace utility to your workflow and choose from the dropdown menu how you want to match the input to replace it with a new value:
- String: Specify a string of text (case sensitive) or a variable.
- Regex: Use a regular expression to specify when to match the input.
- Empty input: Replace the input with the new value only when the input is empty.
Alfred's regex conforms to ICU v3. A useful site to create and check your regular expressions is http://regexr.com.