Clean data in scala : <p>How to remove '[', ']' and white space from the following data -</p>

<pre><code>val fileMat = Array("[1.0,  6.0]",
                "[2.0,  8.0]",
                "[3.0,  10.0]",
                "[3.0,  10.0]",
                "[4.0,  12.0]",
                "[5.0,  14.0]"
               )
</code></pre>
