ThoseBoringTools
πŸ’» Developer Tools

Regex Tester

Enter a regular expression and test string to see every match highlighted, along with capture groups, using JavaScript regex syntax.

//

0 matches

How to use this tool

  1. 1Type your regex pattern and select flags (g, i, m, s).
  2. 2Paste your test text below.
  3. 3Matches are highlighted live, with capture groups listed underneath.

Frequently asked questions

Which regex flavor does this use?
This tool uses JavaScript's native RegExp engine, the same one used in browsers and Node.js.
Why isn't my pattern matching anything?
Check that the global flag (g) is set if you expect multiple matches, and that special characters are escaped correctly.