Skip to content

Regex Tester

Developer Tools

Test a regular expression against sample text and see every match highlighted.

//

What you can do with this tool

  • Check a pattern matches what you expect before using it in code
  • Debug a regex that isn't matching the way you expect

Frequently asked questions

What regex flavor does this use?
JavaScript's native RegExp — the same engine behind every regex used in a browser or Node.js script.
Can I use flags like case-insensitive matching?
Yes — toggle the g, i, m, and s flags directly above the pattern.

What would you like to do next?