Test a regular expression
test_regexRun a JavaScript regex against text to list each match with its position and capture groups, up to 200 matches within 0.5 seconds.
Instructions
Run a JavaScript regular expression against text and list every match with its position and capture groups (up to 200 matches, 0.5 s limit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| flags | No | JavaScript flags such as gi | g |
| pattern | Yes | Pattern without slashes |