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.

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.

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Remove%20H1%20title%20from%20text
Link to Open Shortcut
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

Open sports in the TV app

Presents a menu of Sports sections available in the TV app, include overall Sports, plus MLS Season Pass and Major League Baseball, as well a dedicated section for your favorite home team.

Get Shortcut »

Open Zoom preferences

Opens into Settings > Accessibility > Zoom to let you toggle the feature on or off to magnify the entire screen with a double tap, three-finger drag, and double tap three fingers, as well as features like Follow Focus, Smart Typing, Keyboard Shortcuts, Zoom Controller, Zoom Region, Zoom Filter, Show while Mirroring, and Maximum Zoom Level.

Get Shortcut »

Toggle listening history

Asks you to pick a focus mode, then toggles the current Music Focus Filter setting for “Use Listening History” so you can switch whether or not to Use Listening History for a chosen focus with an existing filter. Works well as a Control in Control Center.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more