Remove empty lines

Uses a regular expressions to automatically get rid of new lines that don’t have any text in them.

Actions Used

Copy to Clipboard
Copies the result of the last action to the clipboard.
Replace Text
Replaces some text passed into the action with other text.
Show Notification
Displays a local notification.

Extra Details

Run Shortcut deep link
Open Shortcut deep link
AppleScript code
tell application “Shortcuts Events” run shortcut “Remove empty lines” end tell

More From This Folder

Special characters

Contains a dictionary of names and symbols that, when passed into Choose From List, becomes selectable – for whichever option is chosen, the corresponding symbol will be passed out and copied to the clipboard.

Get Shortcut »

More From The Library

Open Hearing Devices preferences

Opens the deep link into Settings > Accessibility > Hearing Devices where you can pair Made for iPhone hearing aids and sound processors, plus toggle Hearing Aid Compatibility to improve audio quality on some devi

Get Shortcut »

Get way deeper into Shortcuts – become a member.