Workflow Example: Split Text by Paragraph12 Sep 2015
This workflow shows how text can be chunked into separate elements by paragraph. It demonstrates this using two methods, a double new line not currently being possible to add into the Split Text action as a separator parameter. When run the user is prompted to select one of the methods using a menu action.
The first method takes a text action containing two new lines and stores this in a variable. That variable can then be used in the Split Text action as the paragraph separator.
The second method carries out a regular expression based replacement of two new lines with some placeholder text (“–Paragraph Marker–”). That placeholder is then used as a custom separator for the Split Text action which separates each paragraph into a separate element.
The results are then displayed via a Quick Look action for verification and sharing.
/assets/workflow-examples/Example - Split Text By Paragraph.jpeg