Strip a list item for extracting a specific value in python
<p>I have a list, which was produced as output of a python script in the following format:</p>

<pre><code>[' (* 100.856 UnitA', ') [ 98.0%]',
 ' (* 100.598 UnitB', ') [ 98.0%]', 
 ' (*  98.193 UnitC', ') [ 25.6%]']
</code></pre>

<p>Now, I am interested to put the floating point values in every list item to a new list for further processing in a python script. Is there a way (an in-built python function maybe) I can strip the floating point content alone to a new list? In the above example my desired output would be like :</p>

<pre><code>[100.856,98.0,100.598,98.0,98.193,25.6]
</code></pre>

<p>If not an in-built function, any other alternate way I can achieve this?</p>