Git Conventional Commit & URL Converter
About Regex Group Extractor
The Regular Expression Capture Group Extractor matches text against regex capture groups (numbered `$1, $2` and named `(?<name>...)`), exporting extracted data into clean JSON dictionaries, CSV tables, and array lists.
How to Use Regex Group Extractor
Step 1
Enter your regex pattern containing capture groups `(...)`.
Step 2
Paste target multi-line text into the editor.
Step 3
Inspect the extracted values in the live data table.
Step 4
Click "Export CSV" or "Copy JSON".
Practical Use Cases for Regex Group Extractor
Extracting Structured Data from Unstructured Text Logs
Extract IP addresses, timestamps, HTTP status codes, and user IDs from web server access logs using regex capture groups.
Web Scraping & Data Mining Text Extraction
Extract product titles, prices, and SKUs from scraped HTML documents into structured CSV datasets.
Input & Output Examples
Extracting Named Groups from Date Strings
Pattern: `(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})` | Text: "Release: 2024-05-18"JSON: `[ { "year": "2024", "month": "05", "day": "18" } ]`Key Features & Performance
- ✓Supports Numbered capture groups (`$1`, `$2`) and Named capture groups (`(?<name>...)`).
- ✓Exports extracted data to JSON, CSV, TSV, or Markdown tables.
- ✓Calculates match count, character offsets, and group length metrics.
- ✓100% Client-Side memory execution.
- ✓1-Click Copy or Download CSV/JSON.
Key Terminology & Definitions
Named Capture Group (`(?<name>...)`)
A regular expression sub-pattern whose matched substring is accessible by a descriptive identifier name rather than a numeric index.
`String.prototype.matchAll()`
A JavaScript method returning an iterator of all results matching a string against a regular expression, including capturing groups.
