can anyone help me with regular expression for-
a)set of all strings with equal number of 0s and 1s such that no prefix has 2 more than 0s than 1s nor 2 more than 1's than 0's.
b) set of all strings of 0s and 1s whose number of 0s is divisible by 5 and whose number of 1's is even.