I am looking for an expression that uniquely determines the following set: $S$ is the set of binary strings such that each block of $0$'s is congruent modulo $3$ to the length of block of $1$'s that follows it (if it exists)...that is, (length of $0$) = (length of $1$) mod $3$.
I am thinking to start from $0^*(\{1\}\{1\}^*\{0\}\{0\}^*)^*1^*$, but soon I realize that, the length of block of $1$ is arbitrary, then I got stuck....Could you please give me some hints?