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 39 / 42

Lesson task •

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

Revision 2

Let's recap the previous lessons