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

Email myself

Save a short note to yourself by dictating or typing in the body, then automatically sending the email to your own email address with a canned title.

Get Shortcut »

Open Apple News Spotlight

Opens into the special News+ Spotlight section of the News app curated by Apple editors, including sections like Conversation Starters, Better Living, Weekend Reads, Good News, and Best of News+.

Get Shortcut »


Get way deeper into Shortcuts – become a member.