Hi Alteryx gurus,
I am trying to clean up a variable field which contains multiple fields separated by ",". The field is not clean that I could not simply just use the "text to column" by "," to parse the fields.
For examples:
",M6563982,4430270970,E178595-476-1"
",M3692717,TRANSFER,5100266124"
",D,RESISTOR".
What I am looking for to return : (Anything before the last comma)
Step 1 to return:
"E178595-476-1"
"5100266123"
"Resistor"
Step 2; if in step 1 return the value start with "E" like the first one "E178595-476-1" , then remove the "-1" (last dash and string following). The expected result:
"E178595-476"
"5100266123"
"Resistor"
Any help is very much appreciated! thank you!!
Best,
Flora