Is it possible to create regular expression that will describe words like:
aabc
aaaabcbc
aaaaaabcbcbc
?
Words are created like each occurrence of (bc) on the right is connected with occurrence (aa) on the left.
Words below are not valid:
aa
bc
aaabc
aaaabc
aabcbc