Editorial Workflows

Strip Line Breaks

unlisted workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: This will strip line breaks for all selected text. If no text is selected, it will select the current line. It attempts to preserve paragraphs by ignoring line breaks which do not follow a word boundary or a space.

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Selected Text ?
Entire Line(s)
ON
Empty Selection Output
  • No Output
  • All Text
  • Closest Word
Folded Text
  • Include
  • Replace with:
Find / Replace ?
Find
(\b)[\r\n]|(\s)[\r\n]
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
\1
Set Variable ?
Variable Name
Result
Value
Input
Replace Selected Text ?
Replacement Text
Result