Hi All, I have a requirement where a data comes from a particular source the data is not in the correct form, below is the example for the requirement.
input: D1_A12345_MN, D1_A12875_MN, D1_A34234_AP
output: MNA12345 , MNA12875 , APA34234
So basically what happened here some of the data comes in this format and others are okay which have only numbers, but when there are alpha numeric data it gives this D1_A12345_MN for example, here I want to remove D1_ from the start and then add the last 2 alphabets to the start which is MN and removing other symbols like _ so the final output be MNA12345 . Can someone help to achieve this please. I am stuck