My sets of data contains:-
| ABC_DE_12345_678 |
| ABC_12345_678 |
| ABC |
| ABC_12345 |
I want to remove the end of the letter so that the column will become the following results
How do i write a if statement say if its detect its a digit at the end of the row, it will automatically remove the digit with the underscore?