RegExp Equivalence Checker

/ /
/ /

How to use:

Enter two JavaScript regular expressions (without the surrounding slashes) and click "Check Equivalence". The tool will determine if both expressions match exactly the same set of strings. If they're not equivalent, it will show example strings that demonstrate the difference.

Examples:

Supported syntax:

Unsupported syntax:

Powered by:

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