Regex Tester

Write a pattern, paste sample text, and see what matches. Testing stays in the browser, so logs and sample records are not uploaded.


    
  • No matches

How to use it

  1. Enter a regular expression.
  2. Paste the text you want to test.
  3. Check the highlighted matches and groups.

Useful for

  • Try a capture group
  • See why a pattern misses
  • Test a pattern before adding it to code

Related tools

Questions about Regex Tester & Explainer

Which regex engine is used? +

Your browser’s native JavaScript RegExp engine, including common flags like g, i, m, s, and u.