Hello everyone. I do not know how to express this problem but I will show you what is happening for you to understand.

I am working with a string list in which each line contains information like this:

88_aaabbbccc_aaabbbccc_aaabbbccc_123_1231231231231_1_1_05/10_90,20

our like

88_aaabbbccc_aaabbbccc_aaabbbccc_123_1231231231231_1_05/10_90,20

our

88_aaabbbccc_aaabbbccc_aaabbbccc_123_1231231231231_1_05/10_90,20

Always 2 numbers after a name, separated by “_”, then 3 numbers, then 13 numbers.

But after that it can have 0, 1 or 2 numbers before a date and finally a value and that gets in the way

I need these 2 numbers between the 13 digits and the date.

So, first I need to know if there are 0, 1 or 2 numbers in that position.

After:

If you have 1 just take that information and assign it to a variable - call: var02

Now if it has 2 numbers, it must assign the first number to the variable

-call: var01

And then he assigns the second number to the variable

-call: var02

However, if he has neither, he must simply skip this step.

how can I do this without knowing the position in the string or even wondering if the value exists or not?