Developer Tools

Regex Tester

Test a regular expression against sample text.

Matches: 0

No matches found.

Processed locally in your browser.

Your images are processed on this device and never uploaded.

How to use this tool

  1. Enter a JavaScript regular-expression pattern.
  2. Set any flags and add the text you want to check.
  3. Choose Test to view each match and its position in the text.

Common questions

Which regular expressions are supported?

The tester uses JavaScript regular-expression syntax and accepts flags in the flags field.

Why can a pattern time out?

The tool limits pattern and text length and stops expressions that take too long, helping keep the page responsive.