Hello,
Is it possible to use Power Query to remove from a text string everything but the substrings that end with 4 digits starting either with 19XX or 20XX? For example, in the attached file, one of the cells in column B has the following string:
Quote
all, all radiators, dimensions 1, freightliner, freightliner-cascadia, freightliner-cascadia-2017, freightliner-cascadia-2018, freightliner-cascadia-2019, freightliner-cascadia-2020, freightliner-cascadia-2021, radiator 1 year warranty, radiator pt, spinimages=16
Unquote
I need to remove everything BUT:
freightliner-cascadia-2017, freightliner-cascadia-2018, freightliner-cascadia-2019, freightliner-cascadia-2020, freightliner-cascadia-2021
Basically, if the sub-string does not end on a year, I want to remove it. Comma is a delimiter between substrings.
Bookmarks