Hello everyone,
I have cells that contain a mix of information. However in each cell there is at least one occurrence of the pattern ABCD1234, so 4 letters followed by 4 numbers. I think this is in regex [A-Z]{4}[0-9]{4}.
I need to keep the last occurrence of this pattern in each cell so for example a cell can contain:
The sollution would give me:
BCAD1401
EGTA0017
AACD0015
I really have no idea how I can pull of this feat so any help is more than welcome.
I have cells that contain a mix of information. However in each cell there is at least one occurrence of the pattern ABCD1234, so 4 letters followed by 4 numbers. I think this is in regex [A-Z]{4}[0-9]{4}.
I need to keep the last occurrence of this pattern in each cell so for example a cell can contain:
REG/ABCD EE /44 AACD0015 BCAD1401 BEL/ TAR / REDA15 |
EFP/EGTA0017 |
AACD0715 AACD1115 AACD0325 AACD0015 A RML/ CONTACT 003348976 |
The sollution would give me:
BCAD1401
EGTA0017
AACD0015
I really have no idea how I can pull of this feat so any help is more than welcome.