Regex Extractor
Pull all emails, phone numbers, links and more out of a long text, with optional duplicate removal.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this to pull every email, phone number or order code out of a long chat, Facebook comments or a log file, ready for a follow-up list or a spreadsheet.
Keep the g flag on; without it only the first match is returned. Set the group number to 1, 2 and so on to take just part of each match, such as the domain of an email; ready-made phone and ID patterns live in the regex pattern library.
How to use
- Type a regex; you can copy a pattern from the Regex Pattern Library page.
- Paste the text, and choose the capture group and duplicate removal.
- Click Copy or Download file.
Frequently asked questions
Is the data I paste sent to a server?
No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.
Related tools
More Developer tools
URL ParserBreak a URL into protocol, domain, port, path, parameters and hash, and decode accented text.URL CleanerRemove fbclid, gclid, utm_ and other tracking parameters from links before sharing, for many links at once.Regex EscapeAdd a backslash before . * + ? ( ) [ ] so you can match a string literally in a regex.Remove UTM ParametersStrip only the utm_ parameters from a URL and keep all the other parameters.UTM Link BuilderAdd utm_source, utm_medium and utm_campaign to a link to measure each advertising channel in Google Analytics.Regex TesterType a regex and instantly see highlighted matches and capture groups, and test replacements with $1, $2.
See all developer tools