I am reading a specific line in a log file. I need help to extract the numbers after specific text and then add these numbers. Another option would be to read the last 12 characters of the line, extract only numbers and then add them
AX 123 26OCT ABC 23 1800 UHS TIM XON LIST A12B20C213
From this line I want to extract 12, 20 and 213 and then add them 12+20+213=245
1- I can read the last 12 characters, extract only numbers and then add them
2- I can read the text after 'TIM XON LIST' , extract only numbers and then add them
Thank you