'How to slice a float from between 2 strings?

I have a string like below. The numbers will have varying lengths so I need to extract the numbers between the 2 strings.

<CST, 49.64644, 64.72381, 114.3702>

I want to be able to extract the numbers into an array like below:

x = [49.64644, 64.72381, 114.3702]


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source