Remove list elements

Remove list elements

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

Scripting 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.

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 This Folder

Spell check

Corrects the spelling of the text shared as input or from your clipboard, then presents it a prompt to confirm before copying.

Get Shortcut »

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 »

More From The Library

Open RSS posts

Gets the RSS feed from the Shortcut Input, extracts 10 stories, presents them in a menu, and copies the chosen URLs before opening them in Safari.

Get Shortcut »

Set a shower timer

Starts playing your personalized Apple Music radio station, sets a timer for 10 minutes, and turns on the water lock with your Apple Watch face of choice.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more