Workflow Example: Prefix lines

The workflow begins by allowing the user to work with some sample text or the contents of the device’s clipboard. The workflow then asks the user to enter some text with which to prefix each line. A text replacement action using a regular expression to identify each line is then used to prefix each line with the specified text. Finally the workflow allows the user to view the amended text (and potentially share it on) or simply set the clipboard to the amended text.

Tags: | workflow |