find replace not finding first and last word

Hello!
Please, I have such a task:

when I write expresision like this ( in find):

and & in replace, (with blue letters)

I get just bbb replaced in first group, aaa, bbb abd ccc in second.

aaa, bbb abd cc from third and fourth group are not ment to be replaced by blue either, but aaa and ccc from first group should, but they are not.

Please, what is the problem?
many thanks!

Please, I did not change the formula in find!!! Now ccc fromfirst group is blue, aaa still not !
WHY!!!

Many thanks!!!