I'm doing some Automata Theory exercises through a book and I'm trying to solve the exercise below but I can't figure out how to solve it.
Construct a regular expression that describe the following language given the alphabet $\Sigma = \{0, 1\}$, $$A = \{w \in \Sigma^ * : |w|_0 = |w|_1 \}\cup \Sigma^*\{00,11\}\Sigma^*.$$
Some examples that I think might be right:
00011
belongs to the language.
0
does not belong to the language.
1
does not belong to the language.
0011
belongs to the language.
01010101
belongs to the language.
$\lambda$ belongs to the language because $|\lambda|_0=0$ and $|\lambda|_1=0$.
One solution that I found so far is the regular expression:
$$\alpha = ((0 \cup 1) \Sigma^*)^*$$
However, to be honest, I am really not sure if this one is correct.
Could someone clarify this one?