Regex tester
Test a regular expression against text: list matches with their indexes and capture groups, and preview a replacement. Patterns that could backtrack catastrophically are rejected.
- API: POST /api/regex-tester
- Outputs: json
- pattern: Regular expression pattern, without the surrounding slashes.
- flags: Flags: any of d, g, i, m, s, u, v and y.
- replacement: Replacement text for a replace preview. Leave it out to list matches only.