Tool capabilities
- Input
- TXT
- Output
- TXT · JSON
How to use Regex Groups Viewer
Inspect numbered and named captures for a JavaScript regular expression. This regex groups viewer works directly in your browser and is free to use without an account.
- Paste or open your input in the editor.
- Run the tool and inspect the output. If the input is invalid, correct the reported error and run it again.
- Copy the result or download it to your device.
Regex Groups Viewer · Example
Input
Name: Alice, ID: 123
Output
[
{
"text": "Name",
"index": 0,
"captures": [
"Name"
],
"groups": {
"name": "Name"
}
},
{
"text": "Alice",
"index": 6,
"captures": [
"Alice"
],
"groups": {
"name": "Alice"
}
}
]Inspect numbered and named captures for a JavaScript regular expression.
Usage notes
Inputs and results are processed on this device. Tool content is not sent to a processing server.