Remove H1 title from text

Finds the H1 header, removes that first line and one after it, and gets just the body of the text.

Actions Used

shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Remove%20H1%20title%20from%20text
Open Shortcut deep link
shortcuts://open-shortcut?name=Remove%20H1%20title%20from%20text
AppleScript code
tell application “Shortcuts Events” run shortcut “Remove H1 title from text” end tell

More From This Folder

More From The Library

Play my Replay 2016

Plays the preselected Replay 2016 playlist on Shuffle. My top tracks of the year—not even joking—were Burn The Witch, Can’t Keep Checking My Phone, Daydreaming, Better Strange, and Bored to Death. Uncanny.

Get Shortcut »

Scrape session titles

For a given list of Apple Developer session URLs, this will iterate through each, grabbing the name of the webpage, cleaning it up, and reformatting it into a Markdown list before copying that to your clipboard.

Get Shortcut »


Get way deeper into Shortcuts – become a member.