A pot
Primrose
A pot
AppleGalaMust696
A pot
Rosemary
A pot
TomatoRomaVF1
A pot
Roseberry
A pot
CornPioneer3751
123456
let garden = [
	"Primrose", 
	"Apple 'Gala Must 696'", 
	"Rosemary", "Tomato 'Roma VF1'", 
	"Roseberry", "Corn 'Pioneer 3751'"
];
123456
for  (const plant of garden) {
if (plant.match(//i) {
fertilize(plant);
}
}
Lesson 17 / 42

Lesson task •

Fertilize plants that has no digits in their names

Any single non-digit character

\D

Matches any single non-digit character
1234
console.log(!!"foo".match(/\D/)) // true 
console.log(!!"42".match(/\D/)) // false 
console.log(!!"foobar".match(/foo\D/)) // true 
console.log(!!"foo42".match(/foo\D/)) // false