Workflow Example: Text [Prefix & Suffix]

This workflow allows text to be added to the start and end of lines of text. The workflow begins by generating some sample text. It takes a standard string of text (“The quick brown fox jumped over the lazy dog”) and replicates it a number of times specified by the user. The workflow even accommodates zero times.

The workflow generates the text and then displays it so you can see the before and after effects.

The user is then prompted to enter the text to prefix and append each line with. Both are optional and both can be applied at the same time.

Once set, the workflow carries out a find and replace using a regular expression and the prefix & suffix provided. The final result is then displayed.

Tags: | workflow |