Remove list elements

Scrapes out any list elements like dashes, asterisks, or double brackets so you’re left with only new lines of text.

Actions

shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
shortcuts-action-icon-stop-and-output.webp
Stop and Output
Stops execution of the current shortcut, and outputs content. This action is useful when: • Running a shortcut from another shortcut (using the Run Shortcut action). The output will be used as the output of the Run Shortcut action. • Running a shortcut from Quick Actions in Finder on macOS. The output will be saved as a file alongside the files selected in Finder. • Running a shortcut from Services on macOS. The output will replace the selected content, if applicable. • Or, when running a shortcut from another location that supports output, like the command-line or the Shortcuts URL scheme. No more actions will be run after this action.

More From This Folder

Special characters

Contains a dictionary of names and symbols that, when passed into Choose From List, becomes selectable – for whichever option is chosen, the corresponding symbol will be passed out and copied to the clipboard.

Get Shortcut »

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Remove%20list%20elements
Link to Open Shortcut
shortcuts://open-shortcut?name=Remove%20list%20elements
AppleScript code
tell application “Shortcuts Events” run shortcut “Remove list elements” end tell

More From The Library


Get way deeper into Shortcuts – become a member.

Browse more