OneKitTools logoOneKitTools

Regex Tester

Test regular expressions with live highlighting

About Regex Tester

Test your regular expressions in real time with match highlighting and capture group extraction.

How to use Regex Tester

  1. 1Enter your regular expression in the "Regular expression" field.
  2. 2Add your flags in the dedicated field: g (global), i (case insensitive), m (multiline)…
  3. 3Paste your test string — matches are highlighted immediately.
  4. 4Review the match list with their position and capture groups.
  5. 5Starter+: export all matches to a .txt file.

Tips

  • Start by testing with the g flag to capture all occurrences in the text.
  • Capture groups (parentheses) are displayed separately — useful for extracting sub-patterns.
  • If your regex matches nothing, check the escaping of special characters: dots, stars and brackets must be escaped with \.

Related tools

Related guides

OneKitTools TeamUpdated 2.21.4