Question is $$\left\{ w | w \text{ contains an even number of } 0\text{s or exactly two }1\text{s} \right\}$$I need to confirm my answer but i don't from where to ask someone.My answer is1*(01*0)*+11but i don't know if it's correct or not
Regular Expression Problem
automata;regular languages;regular expressions
Your expression is close to correct for the 'even number of zeros' part; you just forgot the string could end in ones.  I.e:1*(01*0)*1* + 11 [where 'exactly two ones' means precisely that]or1*(01*0)*1* + 0*10*10* [where 'exactly two ones' implies any number of zeros]