Hi all,
I've been trying to find certain codes/characters (coming from a second file) in a string and returning those as output in a separate column.
For example
Input 1
| ID | Field 1 |
| 12345 | 203,311,A00,A003 |
| 67890 | K00,365,230,A00,A002,210 |
Input 2 (list)
| code |
| A00 |
| A001 |
| A002 |
A003 |
| B00 |
| E002 |
| K00 |
Desired output:
| ID | Field 1 | Output |
| 12345 | 203,311,A00,A003 | A00,A003 |
| 67890 | K00,365,230,A00,A002,210 | K00,A00,A002 |
Any suggestions on which tools I should use?
Many thanks!