test-regex
Test regular expressions against text to extract matches, capture groups, and positions for pattern validation and data extraction.
Instructions
Test a regular expression against text. Returns all matches with positions and capture groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Regex pattern | |
| text | Yes | Text to test | |
| flags | No | Regex flags (default: g) | g |