This question asking for at most one occurrence of 11 or at most one occurrence of 00.
so start with :
(∈+ 1 + 11) + (∈+0+00)
Now we have to build around it the combination of 1’s and 0’s that will prevent another occurrence of “11" or "00"
So,Regular Expression should be =
(0+∈) (10)* (∈+ 1 + 11) (01)* (0+∈)+ (1+∈) (01)*(∈+0+00) (10)* (1+∈)