Sample input
/(\d+)/g Order 1024, item 7
Test JavaScript regular expressions locally in your browser, with matches, indices, capture groups and automatic timeout.
/(\d+)/g Order 1024, item 7
The input stays on this device. No upload, REST endpoint, or MCP call is used.
Open the workbench, put /pattern/flags on the first line and the text on subsequent lines, then run. A bare pattern defaults to g; g finds multiple matches, i ignores case, m enables multiline anchors, and u enables Unicode. JSON results contain matches, zero-based UTF-16 indices and capture groups. Input is limited to 10,000 UTF-16 code units and patterns to 256. An isolated Worker is terminated after 1 second, with at most 200 matches and 64 KiB of results. Text is processed only in your browser.
/(\d+)/g Order 1024, item 7
{}
{
"matches": [
{
"match": "1024",
"index": 6,
"groups": [
"1024"
]
},
{
"match": "7",
"index": 17,
"groups": [
"7"
]
}
],
"truncated": false
}
Use Regex Tester for browser-local processing. The input stays on this device.
Open the workbench, put /pattern/flags on the first line and the text on subsequent lines, then run. A bare pattern defaults to g; g finds multiple matches, i ignores case, m enables multiline anchors, and u enables Unicode. JSON results contain matches, zero-based UTF-16 indices and capture groups. Input is limited to 10,000 UTF-16 code units and patterns to 256. An isolated Worker is terminated after 1 second, with at most 200 matches and 64 KiB of results. Text is processed only in your browser.
Test JavaScript regular expressions locally in your browser, with matches, indices, capture groups and automatic timeout.
Click “Open workbench” to open Regex Tester, provide your input, and run the tool.
Declared input type: text. Declared output type: text.
Regex Tester processes input locally in your browser on this device, without uploading it for execution.