Q. The regular expression have all strings in which any number of 0’s is followed by any number of 1’s followed by any number of 2’s is : (Solved)
1. (0+1+2)*
2. 0*1*2*
3. 0* + 1 + 2
4. (0+1)*2*
- b. 0*1*2*
1. (0+1+2)*
2. 0*1*2*
3. 0* + 1 + 2
4. (0+1)*2*