I would like to extract the date even though the formats could be slightly different. The format in the text is year-month-day. The day can be written as 02 for example or 2. Here is an example.
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | Text | What I want | ||
2 | Café Nero-10-22-22-Paul Smith-Cash | 10/22/2022 | ||
3 | Café Nero-10-2-22-Paul Smith-Cash | 10/2/222 | ||
4 | Café Nero-10-02-22-Paul Smith-Cash | 10/2/2022 | ||
5 | Café Nero-03-02-22-Paul Smith-Cash | 3/2/2022 | ||
6 | Café Nero-03-2-22-Paul Smith-Cash | 3/2/2022 | ||
Sheet3 |