Extract email addresses from selection

This morning I had a bunch of email addresses to clean up. I was surprised not to find an action for this in Draft, so I thought I’d quickly make one. The action takes the selected text as input, matches all email addresses (regex from https://www.emailregex.com), and stores a comma-separated list in the clipboard, including only the email addresses.

I hope it’s helpful to someone else :slight_smile:

2 Likes