title: How can read and get coefficients of variables in equations from txt file on java
body: <p>How can i read equations from txt file and get these equations coefficients for ex. <code>3.2x-5.6y=10</code> is in txt file and i need <code>3.2</code> ,<code>-5.6</code> and <code>10</code> for making graph gui program.</p>
  
  <p>I tried <code>bufferedreader</code> but i cant get coefficients.</p>
  
  <pre><code>BufferedReader reader = null;
  reader = new BufferedReader(new FileReader("input.txt"));
  String line = reader.readLine();
  </code></pre>