Text Extractor
Extract emails, links, IPs and more into grouped lists, or use a custom regex with capture groups.
How to use
Paste text, then select the kinds you need. Each group shows occurrence counts and copyable output. Lowercase is applied before deduplication; it changes entire values, including case-sensitive URL paths. Choose lexical or frequency sorting and an output separator. JSON preserves item boundaries; Copy all combines groups without headings. Enable the lightweight input preview to inspect overlapping matches. In custom mode, enter a JavaScript regex without delimiters, flags, and a capture index (0 means the full match). Missing groups are skipped. Use Regex Tester for replacement previews and debugging rather than bulk extraction.
FAQ
Are the email, URL and domain patterns RFC-perfect?
No. Emails use an ASCII dot-atom local part up to 64 characters and a dotted ASCII domain (including punycode), with no empty labels or leading/trailing hyphens. Quoted local parts and Unicode email addresses are not supported. Domains have a letter or punycode suffix; there is no DNS/public-suffix lookup. URLs require HTTP(S), accept localhost, domains and IP hosts, and trim sentence punctuation and unmatched closing brackets. This can trim intentional trailing URL punctuation. Bare www links are domains, not URLs.
Can a custom regex freeze the page?
All scanning runs in a dedicated Worker terminated after one second, including a single expensive match. The 10,000-match/iteration cap only limits results and loop work; it does not prevent catastrophic backtracking by itself. Input is limited to 200,000 UTF-16 code units and patterns to 2,000; extracted values have a combined 2,000,000-character budget. Supported flags are d g i m s u y; g and capture indices are enabled internally. Empty patterns produce no results. Zero-width matches advance by a Unicode code point with u. Reaching the cap is reported conservatively, even if it was the final match.
What do the other built-in kinds recognize?
IPv4 octets must be 0–255 without leading zeros; IPv6 supports compression and IPv4 tails, not zone IDs. Phone candidates have 7–15 digits, spaces, parentheses or hyphens: they are not validated numbers and adjacent numbers may merge. Hashtags accept Unicode letters/numbers/underscores; mentions use ASCII letters/digits/underscores. UUIDs check the 8-4-4-4-12 hex shape, not version. Colors accept 3/4/6/8 hex digits. Dates validate YYYY-MM-DD or T-separated times with optional seconds, fractions and zone offsets, not week dates or leap seconds. Numbers include signs, decimals and exponents, without locale separators. Single/double quoted strings stay on one line; quotes are removed but escapes are not decoded. Different kinds may overlap.
Is my input saved or uploaded?
No. Text, patterns and results stay in memory on this page. Only display and extraction options are stored locally. Unlike Regex Tester, this tool focuses on multi-kind extraction, counts, deduplication and list export; it does not replace text.