Note, without ^ (start) and $ (end) anchors RegExp match substrings.
That can lead to surprising results.
For example, /a+/ is technically equivalent to /a/ because /a+/
is the same as /^.*a+.*$/ which matches exactly the same strings as /^.*a.*$/ (i.e. /a/).
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.