I would like to transform a "text" list into a "number" list

Yes, but I don't create the list myself, I get it from a file and I want to transform it. The values are intended to evolve. It's just a format problem that I can't solve.
I want to transform the list that I have on this one format:


=>