Regex tester

Write a pattern, paste a test string and see every match and capture group instantly.

How to test a regular expression

  1. 01Type your pattern.
  2. 02Toggle flags such as g or i.
  3. 03Paste your test string and read the highlighted matches and groups.

FAQ

No. Everything runs in your browser with JavaScript. Nothing you type is uploaded, and closing the tab clears it.