Extract phone numbers

Scrapes text from input and looks for strings formatted as phone numbers.

Scripting Actions

Get Phone Numbers from Input
Returns any phone numbers found in the output from the previous action.
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=Extract%20phone%20numbers
Link to Open Shortcut
shortcuts://open-shortcut?name=Extract%20phone%20numbers
AppleScript code
tell application “Shortcuts Events” run shortcut “Extract phone numbers” end tell

More From This Folder

More From The Library

Show my Medication records

Opens into the Health app to the Medication Records section of your Health Records where you can “connect to your providers to see your health records and get updates when there’s a new entry.”

Get Shortcut »

Batch-add to Home Screen from folder

Asks you to choose a folder from Files or Finder containing your icons, then a folder from Shortcuts containing your shortcuts, then repeats through each adding a custom icon corresponding to the repeat index in the icon folder – icon-1.png for shortcut-1.shortcut (and so on).

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more