← All tools
Regex Test Case Runner
Run positive and negative examples against a JavaScript regular expression, inspect matches and captures, and export a reusable JSON fixture. Everything stays in your browser.
Expression and cases
JavaScript flags: d, g, i, m, s, u, v, or y. Support depends on your browser.
Limits: 500 pattern characters, 200 cases, 5,000 characters per case, and 100 matches per case. Blank lines are valid test cases only when the textarea contains exactly one blank line.
Results
Run the tests to see results.
| Status | Expected | Test case and match details |
|---|