Exporting match results
RegexCraft can export Match results from the Test panel (Matches & Groups) as CSV or JSON. There are no license keys involved — export is available in the same free personal / paid business build.
When to use Export
- Share match samples with a teammate
- Feed results into a spreadsheet or script
- Archive how a pattern behaved against a subject snapshot
- Debug group captures offline
How to export
- Open Test mode (Ctrl+1).
- Enter a pattern and subject so matches appear under Matches & Groups.
- Use the export buttons next to Run:
- CSV — save a spreadsheet-friendly file
- JSON — save a structured file with metadata
- Copy JSON — put the JSON document on the clipboard (no save dialog)
Suggested filenames look like
regexcraft-matches-YYYYMMDD-HHMMSS.csv /
.json.
CSV format
Columns:
| Column | Meaning |
|---|---|
MatchIndex |
Zero-based match number |
Value |
Full match text |
Index |
Start offset in the subject |
Length |
Match length |
GroupN_Name |
Capture group name (or number) |
GroupN_Success |
true / false |
GroupN_Value |
Captured text |
GroupN_Index |
Group start offset |
GroupN_Length |
Group length |
Group columns are expanded for every group number greater
than 0 that appears in the result set. Group 0 (full match) is
already represented by Value / Index /
Length.
Values that contain commas, quotes, or newlines are CSV-escaped per usual rules.
JSON format
The JSON document includes:
exportedAt— UTC timestamppattern,subjectflavorId,flavorDisplayNameengineId,engineDisplayNamesuccess,errorMessage,durationMsoptions— ignoreCase, multiline, singleline, explicitCapture, ignorePatternWhitespacematches[]— each withmatchIndex,value,index,length, andgroups[]
This is the preferred format for tools and scripts.
Notes
- Export uses the last successful Test run. Fix pattern errors before exporting.
- Empty match lists still export (header-only CSV / empty
matchesarray) after a successful run. - GREP file hits and Library import/export are separate features and may arrive in a later release.
- Compare mode has its own Copy summary for a text report across flavors — that is not the same as match CSV/JSON export.