Regex Tester

Test JavaScript regular expressions.

How the regex tester works

Patterns run with the browser's JavaScript RegExp engine. Matches are highlighted, and numbered and named capture groups are listed for each match.

Beware of catastrophic backtracking: nested quantifiers like (a+)+ can freeze a page on certain inputs. DevCipher caps the number of matches shown at 1,000.

Processed locally in your browser — your input is never uploaded.

What is Regex Tester?

Test JavaScript regular expressions. Patterns run with the browser's JavaScript RegExp engine. Matches are highlighted, and numbered and named capture groups are listed for each match.

Is Regex Tester free to use?

Yes. Regex Tester on DevCipher is completely free, with no sign-up, no limits and no ads.

Is my data safe when I use Regex Tester?

Yes. Everything runs locally in your browser. Your input is never uploaded to a server, and sensitive values such as keys and tokens are never saved.