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 apps connected to Gemini

“Bring it all together with Gemini and your favorite apps. Go from tons of tabs to one conversation. Gemini can now access info from new sources, starting with Maps, YouTube, Flights, and Hotels so you can bring your ideas to life easier and faster.”

Get Shortcut »

Open Security and Privacy preferences

Opens the deep link into Privacy and Security settings on iOS and the Security pane on macOS. Options include controls for Location Services and Tracking, plus others like Local Network, Nearby Interactions, Microphone and Speech Recognition, and Research Sensor and Usage Data. Also includes Safety Check, Sensitive Content Warning, Analytics and Improvements, Apple Advertising, App Privacy Report, and Lockdown Mode.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more