RegExp Equivalence Checker

/ /
/ /

How to use:

Enter two JavaScript regular expressions (without the surrounding slashes) and click "Check Equivalence". The tool determines whether the two expression match exactly the same strings. Otherwise, example strings are shown that match either expression but not both.

Examples:

Supported syntax:

Unsupported syntax:

Powered by:

📦 @gruhn/regex-utils - TypeScript library for regex equivalence, intersection, complement and other utilities