Editorial Workflows

Find and Replace

public 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: Finds and replaces text in the current document. The search is case-sensitive, and the replacement can be undone.

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
A document must be open... ?
Run the block if
File Name
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
No Document Selected
…End If
Request Text Input ?
Title
Search for...
Initial Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
Search Term
Value
Input
If a search term was entered... ?
Run the block if
Search Term
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Request Text Input ?
Title
Replace with...
Initial Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
Replacement
Value
Input
Document Text ?
Folded Text
  • Include
  • Replace with:
Find / Replace ?
Find
Search Term
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Replacement
Set Variable ?
Variable Name
Result
Value
Input
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Replace Selected Text ?
Replacement Text
Result
…End If