About the Text Extractor
The Text Extractor pulls specific pieces of data out of a wall of text. Paste a page of prose, HTML or a log file and extract every email address, URL, number or hashtag — or supply your own regular expression for full control.
Built-in patterns
| Type | Matches |
|---|---|
| Email addresses | name@example.com style addresses |
| URLs | Full http(s) links and www. addresses |
| Numbers | Integers and decimals, including negatives |
| Hashtags | #tags including letters, numbers and underscores |
| Custom | Any regular expression you provide |
How to use it
- Paste your text.
- Choose a built-in type, or enter a custom regular expression.
- Click Extract. Matches are listed one per line, with duplicates removed.
- Copy the list.
- Harvesting contact emails from a document.
- Collecting every link from pasted HTML.
- Pulling phone numbers, prices or IDs from reports.
- Grabbing hashtags for social media research.
Custom regular expressions
For advanced extraction, write a pattern in JavaScript regular-expression syntax. For example [A-Z]{3,} finds runs of three or more capitals, and \d{4}-d{2}-d{2} finds ISO dates. If a pattern is invalid the tool says so instead of failing silently.
Uses
Who it is for
Researchers, marketers, journalists, data analysts and developers.
Privacy
Extraction runs locally — your text never leaves the browser.