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

Toggle Voice Control

Switches the Voice Control so you can issue commands to your device, giving you hands-free control of your devices.

Works great for Accessibility purposes, as well as simply using a device when you can’t reach it – I use this on my iPad Pro when it’s on the stand I have on my desk.

Get Shortcut »

Change Siri lock screen access

Opens the deep link into Settings > Siri and Search and takes you to the “Allow Siri When Locked” setting, which you can toggle off to disallow sensitive information from being accessible while locked.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more