Given the following product names below. I have been tasked to extract all the colors and sizes.

Example: `Nike Relay Women's Running Capris - **Black**, **L/XS**`

```
Color = Black
Size = [XS,L]

```

What would be the best way to go about this? I was thinking of having a `dictionary` with all the colors and sizes and then just doing a match.

But there has to be a better way and more maintainable way.
The biggest problem that i see is that there are so many different combinations

1. Nautica S **Blue** Bone Woven Pajama Pants
2. Nike Relay Women's Running Capris - **Black**, **XS**
3. Nautica Mens J-Class Pajama Pants-**Small**, **NAVY**
4. Nautica J-Class Woven Pajama Pant **L**, **Maritime Navy**
5. Nike Legend Tank - Womens - **Black/Black**
6. Nike 3PK DF Cushion No Show Tab Socks - Womens - **Black/White/Black**
7. Stance Casual Socks - Men's Mahalo, **L/XL**
8. Nautica Wrinkle Resistant Dress Pant **30x30**, **Grey**
9. Nautica Wrinkle Resistant Dress Pant **36x30**, **Black**
10. Nautica Wrinkle Resistant Dress Pant **33x32**, **Black**
11. RVCA VA Flipped Box Slim T-Shirt - Short-Sleeve - Men's **Bluestone**,
 **L**
12. RVCA VA Flipped Box Slim T-Shirt - Short-Sleeve - Men's **Bluestone**,
 **M**
13. RVCA VA Flipped Box Slim T-Shirt - Short-Sleeve - Men's **Bluestone**,
 **S**