A pot
Rose
A pot
Rosemary
A pot
Rose
A pot
Rose
A pot
Primrose
A pot
Rosemary
A pot
Rosemary
A pot
Rose
A pot
Rose
123
let garden = "Rose\tRosemary\tRose\tRose\t
Primrose\tRosemary\tRosemary\t
Rose\tRose";
123456
garden = garden
.replace(//gi, "Blackberry");
Lesson 40 / 42

Lesson task •

Replace with blackberry every plant that is not following directly AND is not followed directly by rose AND is not rose itself

Revision 3

Let's recap the previous lessons one more time