Paste a document and a regular expression and get every match as a list. Choose the whole match or one capture group, or take all groups as columns for a CSV. Duplicates can be removed, and the result can be copied as lines, comma-separated text, CSV or a JSON array.
JavaScript syntax. You can also paste /pattern/flags.
3 matches
Matching runs in your browser. What you type never leaves this device.
Every match of a JavaScript regular expression, in order
Pick the whole match, a numbered group, a named group, or all groups as columns
Output one per line, comma separated, as CSV or as a JSON array
Remove duplicate values, keeping the first occurrence
Match and unique counts, and download for CSV and JSON
Handles up to 50,000 matches
Pull every #A1023-style order ID or GSTIN out of an email thread or export, ready to paste into a sheet.
Capture user IDs, status codes or response times from log lines with a group like status=(\d{3}) and count them.
With two or more groups, such as (\w+)@([\w.]+), take all groups as CSV columns and open the result in a spreadsheet.
Brackets in a pattern capture part of each match. In Order #(\w+) from (\S+@\S+), group 1 is the order number and group 2 the email. Pick a group in "What to extract" to keep just that part. Named groups such as (?<email>...) are listed by name.
The Extract Emails and Extract Phone Numbers tools do those two jobs without writing a pattern. To check a pattern step by step with highlighting, use the Regex Tester.
Regex Tester
Test regular expressions
Extract Emails
Pull every email address out of pasted text, deduped, with CSV export
Extract Phone Numbers
Pull phone numbers, emails or links out of text, normalised to +91 and deduped, with CSV export
Regex Splitter
Split text on any regular expression, one piece per line
Remove Duplicate Lines
Remove repeated lines from a list, with trim, ignore-case and sort options
Regex Patterns
Tested regexes for PAN, GSTIN, IFSC, mobile numbers, email, dates and more
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.