๐Ÿ’ป Developer Tools

Regex Tester

Test a JavaScript regular expression and flags against sample text in real time.

Ready to use ยท Runs in your browser ยท No signup
Result2 matches

tools ยท toolkits

How to use the Regex Tester

Test JavaScript-compatible regular expressions against text and see match counts or syntax errors immediately in the browser.

  1. Enter the regular-expression pattern without slash delimiters.
  2. Enter JavaScript regex flags such as g, i, m, s, or u.
  3. Fieldlet compiles the expression and lists matching text when the expression is valid.

Last reviewed for accuracy:

Common questions

Which regex flavor does this use?

It uses the JavaScript RegExp implementation provided by the visitor's browser.