Editorial Workflows

AddCase

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: This workflow has no description.

Shared by: @WarFreeZone

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Selected Text ?
Entire Line(s)
OFF
Empty Selection Output
  • No Output
  • All Text
  • Closest Word
Folded Text
  • Include
  • Replace with:
Match case w/ pincites. ?
Find
[_\*](.*)[_\*](, \d{1,3} [a-zA-Z\.\s,23]* \d{1,4})(, .*)(\(.*\))
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$1$2 $4
Match case w/o pincites. ?
Find
[_\*](.*)[_\*](, \d{1,3} [a-zA-Z\.\s,23]* \d{1,4} \(.*\))
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$1$2
Request Text Input ?
Title
This will be the content of the new source file.
Initial Text
Input
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
casename
Value
Input
Selected Text ?
Entire Line(s)
OFF
Empty Selection Output
  • No Output
  • All Text
  • Closest Word
Folded Text
  • Include
  • Replace with:
Create Filename w/Pincites ?
Find
[_\*](.*) v\. .*, (\d{1,3} [a-zA-Z\.\s,23]*) \d{1,4}, .* \(.*\)
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
/fullcites/$1 $2.txt
Create Filename w/o Pincites ?
Find
\*(.*) v\. .*, (\d{1,3} [a-zA-Z\.\s,23]*) \d{1,4} \(.*\)
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
/Apps/Editorial/fullcites/$1 $2.txt
Request Text Input ?
Title
This will be the filename.
Initial Text
Input
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
filename
Value
Input
Set File Contents ?
File Name
%var:filename
In Dropbox
ON
New Text
casename
If File Does Not Exist
  • Create
  • Stop Workflow
Show Alert ?
Title
New source file created.
Message
Filename: filename Content: casename
Button 1
OK
Output Value
Button 2
(don't show)
Output Value
Button 3
(don't show)
Output Value
Show Cancel Button
OFF