Regex tester
regex-testRuns a JavaScript regex over sample text and returns matches and groups (capped sizes). Returns { count, matches }: up to 100 matches, each { match, index, groups }. Price: 1 credit (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Sample text to search, up to 2,000 characters. | |
| flags | No | Regex flags from g, i, m, s, u, y; g is always added. | g |
| pattern | Yes | JavaScript regular expression source, without slashes, up to 200 characters. |