Skip to content

Pattern Extractor

Pulls every email, URL, number, date or custom regex match out of a blob of text into a list.

Pulls every email address, URL, phone number, date or number out of a document — or anything a regular expression of your own describes — deduplicated, sorted and ready to paste into a spreadsheet.

🔒 Runs entirely in your browserextractregexscrape

Text

Paste a document, an email thread, a log — anything with the values buried in it.

What to pull out

Pattern

The practical form, not RFC 5322. Quoted local parts and comments are not matched.

Order
Join with

Found

matches

3

distinct values

3

lines with a match

2

How to use it

  1. Paste the document

    An email thread, a log, a page of HTML — anything with the values buried in it. Nothing is uploaded.

  2. Pick a ready-made pattern or write one

    The ready-made ones cover the common cases and each says what it does and does not match. Numbers and money come in two entries each, one for 1,234,567.89 and one for 1.234.567,89, because a pattern cannot tell those apart from the characters alone — pick the one the document is written in. A custom regular expression extracts the whole match.

  3. Sort by frequency when you want the shape

    It lists the values with their counts, which turns a list of matches into a picture of what the document is mostly about.

Common questions

It found part of an email address

The pattern is the practical form of an address rather than the full RFC grammar, which allows things nobody uses. An address with an unusual character in the local part can fall outside it; a custom regex handles the exception.

Can I extract just a capture group?

A custom pattern always returns the whole match. The ready-made "quoted strings" entry is the example of group extraction — it returns what is inside the quotes rather than the quotes as well.

What is the difference from find-and-replace?

That one edits the text in place. This one takes the matches out as a list — deduplicated, sorted, counted — which is what you want when the document is the source and the list is the output.

Feed it from

Next

These accept what this tool produces, so the result can go straight in.