I normally like to figure out these myself but this has stumped me and it could be an easy fix so hope you can help.
Sorry for the poor formatted data sample, can't figure how to to link an image but it's simple enough, on the left is the string, each string ends in the size and I've got column of sizes separately but there's a few item strings in the source files (30k pdfs) where instead of xl or xxl they end in X and I need to fix them without messing up the rest of the data.
Standard replace doesn't work obviously, I've tried conditional columns which can compare the end of the string to the size column and mark out which are incorrect but after that a simple merge doesn't work since i



