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 »

Change text case

Takes the input from the Share sheet or clipboard, lets you choose from UPPERCASE, lowercase, Capitalizing Every Word, swapping to Title Case, or swapping to Sentence case, and copies it to your clipboard.

Get Shortcut »

More From The Library

Open Recently Added on Netflix

Opens the “New and Popular” page of the Netflix website, showing sections like “New on Netflix,” “Worth the Wait,” “Coming This Week,” “Coming Next Week,” and Top 10 TV Shows and Movies in your country.

Get Shortcut »

Open Club MacStories

Shows the main homepage for Club Macstories, the members-only portion of the MacStories website with weekly newsletters, community events, and private stories with more advanced techniques.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more