title: checking float inside a string and return result?
body: <p>I have a text file which I geline to a string.  The file is like this: <code>0.2abc 0.2 .2abc .2 abc.2abc abc.2 abc0.20 .2 . 20</code></p>
  
  <p>I wanna check the result then parse it in to separate float. The result is:<code>0.2 0.2abc 2 20 2abc abc0.20 abc</code></p>
  
  <p>This is expalined: check if there is 2 digit (before and after '.' (full stop)) whether with char or not. If only 1 site of the '.' is digit the '.' will be full stop.</p>
  
  <p>How can I parse a STRING to separate result like that? I did use iterator to check the '.' and pos of it, but still got stuck.</p>