There is a log file in txt format, which is constantly updated. And among the lines of this file, there is a template message that contains two numbers. How to implement the reading of these two numbers and write them into variables. For example
[I] [22:50:14] [01:50:14] [Client thread/INFO]: [CHAT] >> [I] [22:50:19] [01:50:18] [Client thread/INFO]: [CHAT] : 530 + 797 [I] [22:50:19] [01:50:18] [Client thread/INFO]: [CHAT] , 1 . That is, you need to select among the lines 530 + 797, and write the sum into a variable.
vunder the tally counter - Sergey Nudnov