One approach is to use known identities for regular expressions, such as
- $X^* = XX^* \cup \epsilon$
- $X(Y+Z) = XY + XZ$
as rewriting steps, to find a chain of steps that rewrites the first expression into the second.
Arto Salomaa published two sets of such identities in 1966; these sets are infinite, which is inevitable, as Volodymyr Redko had shown.
So this approach is not always practical, it is not very clear how to do this in a systematic way, and I cannot see how easy it will be for this case.
The following alternative approach feels like cheating, but it is deterministic, and it will always work:
- using a well-known algorithm that is known to be correct, convert both regular expressions into an equivalent minimal DFA;
- check whether they are isomorphic (= equal up to the names of states). They recognize the same language if and only if they are.
This can be expensive (the DFA can be doubly exponentially larger than the original expression), but at least it works.