CompTIA DA0-002 Question Answer
A data analyst receives the following sales data for a convenience store:
Item
Quantity
Price
Chocolate Bars
7
$1.99
Vanilla Ice Bars
2
$4.99
Chocolate Wafers
6
$0.99
Peanut Butter
2
$2.99
Cups
3
$4.99
Strawberry Jam
3
$4.99
Chocolate Cake
9
$6.99
Milk Chocolate
2
$2.99
Almonds
5
$2.99
The analyst needs to provide information on the products that contain chocolate. Which of the following RegEx should the analyst use to filter the chocolate products?