Sorry for not replying to this thread, I repped those I could. Smuzoen, thanks for the code. It's a lot easier to understand what's going on with your method but the regex method is cleaner and it seems there are less lines to change if it ever needs modification.
So I'm getting back to this project after a month's break... Ran through the whole list and found some errors.
I need this part changed yet again:
CAF076-1018, CAF076-101-- and CAF076-1019M are all basically the same items. Is there a way to change the pattern such that it only compares up to the third character after the hyphen and not the whole line? I tried this
but I don't think its any different from the current code.
Bookmarks