Skip to main content

Regex Test Runner

v1.1.0

Test regular expressions against sample strings with match highlighting.

Tests a regular expression against multiple sample strings in bulk — run a pattern against a list of test cases and see which match and which don't, with capture group values shown.

How to use
  • Enter your regex pattern (with optional flags) in the top field.
  • Paste test strings one per line in the test cases area.
  • Matching lines are marked green; non-matching red. Capture groups are shown per match.
//g
2 match2 no match
abc123
hello world
456 test
no digits here